/* Samtykke intro tekst */
.cpt-samtykke-intro {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.5;
}
.cpt-samtykke-intro a{
    font-size: 15px!important;
}

/* Samtykke info og checkbox */
.cpt-samtykke-info {
    margin: 18px 0 20px 0;
    font-size: 13px;
    line-height: 1.5;
}
.cpt-samtykke-info a {
    font-size: 13px!important;
}

.cpt-samtykke-checkbox-label {
    display: flex;
    align-items: center;
    font-size: 13px;
    margin-bottom: 16px;
    gap: 8px;
}
.cpt-samtykke-checkbox {
    width: 18px;
    height: 18px;
}
/* CPT Email Status Updater Styles */
.cpt-email-status-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.cpt-email-status-success {
    font-size: 48px;
    color: #0F2DB9;
    margin-bottom: 16px;
}

.cpt-email-status-success-text {
    color: #0F2DB9;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    font-weight: 600;
    font-family: "FCK Sans", Sans-serif;
    line-height: 1em;
}

.cpt-email-status-success-text-p {
    font-size: 16px;
    text-align: center;
    font-family: "FCK Sans", Sans-serif;
    line-height: 1.5em;
    margin-top: 12px;
}

.cpt-email-status-error {
    font-size: 48px;
    color: #Dc1e1e;
    margin-bottom: 16px;
}

.cpt-email-status-error-text {
    color: #Dc1e1e;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    font-weight: 600;
    font-family: "FCK Sans", Sans-serif;
    line-height: 1em;
}

.cpt-email-success-btn,
.cpt-email-btn,
.cpt-email-try-again,
.cpt-email-form button[type="submit"] {
    margin-top: 18px;
    padding: 15px 30px;
    font-size: 16px;
    background: #0F2DB9;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: inline-block;
    border-radius: 0px;
}

.cpt-email-success-btn:hover,
.cpt-email-btn:hover,
.cpt-email-try-again:hover,
.cpt-email-form button[type="submit"]:hover {
    background: #000f55;
    color: #fff;
}

.cpt-email-form {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}

.cpt-email-form a, .cpt-samtykke-intro a {
    color: #0F2DB9!important;
    text-decoration: underline!important;
}

.cpt-email-form label {
    font-size: 18px;
    margin-bottom: 8px;
}

.cpt-email-form input[type="email"] {
    padding: 8px 12px;
    font-size: 16px;
    margin-bottom: 12px;
    width: 100%;
}

/* Samtykke Tabel Styles */
.cpt-samtykke-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 24px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 8px;
    overflow: hidden;
}
.cpt-samtykke-table th,
.cpt-samtykke-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e2e2e2;
    text-align: left;
    background: #fff;
}
.cpt-samtykke-table th {
    background: #f7f7f7;
    font-weight: bold;
    border-bottom: 2px solid #e2e2e2;
}
.cpt-samtykke-table tr:last-child td {
    border-bottom: none;
}
.cpt-samtykke-status-given {
    color: #4CAF50;
    font-weight: bold;
}
.cpt-samtykke-status-waiting {
    color: #F44336;
}
.cpt-samtykke-status-published {
    color: #888;
    font-style: italic;
}
.cpt-samtykke-delete-btn {
    background: #d32f2f;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 18px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: 0;
}
.cpt-samtykke-delete-btn:hover {
    background: #b71c1c;
}
.cpt-samtykke-age-green {
    color: #4CAF50;
    font-weight: bold;
}
.cpt-samtykke-age-red {
    color: #F44336;
    font-weight: bold;
}
.cpt-samtykke-divider {
    border-top: 2px solid #e2e2e2;
    margin: 32px 0 18px 0;
}
.cpt-samtykke-toggle {
    background: #f7f7f7;
    color: #2271b1;
    border: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 24px;
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 18px;
}
.cpt-samtykke-toggle:hover {
    background: #e2e2e2;
}
.cpt-samtykke-foldout {
    display: none;
    margin-top: 0;
    margin-bottom: 24px;
    animation: fadeIn 0.3s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}