#treatment-group #treatment {
	font-family: 'Cormorant Garamond';
	background: var(--dark-navy); 
	font-style: italic;
}

.form-error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 15px;
    text-align: center;
}

.input-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
    z-index: -1;
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.form-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.btn-loader svg {
    animation: cf-spin 0.8s linear infinite;
}

@keyframes cf-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.cf-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;
}

.cf-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.cf-modal {
    background: #ffffff;
    border-radius: 16px;
    padding: 50px 40px 40px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
    opacity: 0;
}

.cf-modal-overlay.is-active .cf-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.cf-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: background 0.2s ease, color 0.2s ease;
}

.cf-modal-close:hover {
    background: #8B6F5E;
    color: #ffffff;
}

.cf-modal-icon {
    margin: 0 auto 24px;
    width: 80px;
    height: 80px;
}

.cf-checkmark {
    width: 80px;
    height: 80px;
}

.cf-checkmark-circle {
    stroke: var(--dark-navy);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: cf-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards;
}

.cf-checkmark-check {
    stroke: var(--dark-navy);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: cf-stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.7s forwards;
}

@keyframes cf-stroke {
    to { stroke-dashoffset: 0; }
}

.cf-modal-title {
    font-size: 24px;
    color: #2c2c2c;
    margin: 0 0 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cf-modal-message {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 30px;
}

.cf-modal-btn {
    background-color: var(--dark-navy);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 13px 40px;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.cf-modal-btn:hover {
    background-color: #162d61;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .cf-modal {
        padding: 40px 24px 30px;
    }

    .cf-modal-title {
        font-size: 20px;
    }
}
