:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1e293b;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
}

/* Login Container */
.fceu-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    padding: 20px;
}

.fceu-login-wrapper {
    display: flex;
    max-width: 1100px;
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Branding Section */
.fceu-login-branding {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fceu-branding-content {
    max-width: 400px;
}

.fceu-brand-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.fceu-brand-tagline {
    font-size: 18px;
    margin: 0 0 50px 0;
    opacity: 0.9;
}

.fceu-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.fceu-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.fceu-feature-icon {
    font-size: 32px;
    line-height: 1;
}

.fceu-feature-text h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.fceu-feature-text p {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
}

/* Form Section */
.fceu-login-form-wrapper {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fceu-login-form-container {
    width: 100%;
    max-width: 400px;
}

.fceu-login-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 10px 0;
}

.fceu-login-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    margin: 0 0 30px 0;
}

/* Error Message */
.fceu-error-message {
    background: #fee;
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;

    display: flex;
    align-items: flex-start;
    gap: 8px;

    font-size: 14px;
    line-height: 1.5;
}

/* IMPORTANT: override any floated strong coming from WP/WC */
.fceu-error-message strong {
    float: none !important;
}

/* Keep the first "Error:" label from wrapping */
.fceu-error-message > strong:first-child {
    white-space: nowrap;
    font-weight: 600;
}

/* Make the rest of the text wrap nicely */
.fceu-error-message a {
    white-space: nowrap; /* optional: keeps link intact */
}

.fceu-error-icon {
    font-size: 18px;
}

/* Form Elements */
.fceu-form-group {
    margin-bottom: 20px;
}

.fceu-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.fceu-label-icon {
    font-size: 16px;
}

.fceu-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.fceu-form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.fceu-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.fceu-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-700);
    cursor: pointer;
}

.fceu-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.fceu-forgot-password {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
}

.fceu-forgot-password:hover {
    text-decoration: underline;
}

/* Buttons */
.fceu-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.fceu-btn-primary {
    background: var(--primary-color);
    color: white;
    width: 100%;
}

.fceu-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.fceu-register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray-500);
}

.fceu-register-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.fceu-register-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
/* Star Rating */
.fceu-star-rating {
    display: inline-flex;
    gap: 8px;
    font-size: 32px;
    margin: 10px 0;
}

.fceu-star {
    color: var(--gray-300);
    cursor: pointer;
    transition: all 0.2s;
}

.fceu-star:hover,
.fceu-star.active {
    color: var(--warning-color);
    transform: scale(1.1);
}

.fceu-form-help {
    font-size: 13px;
    color: var(--gray-500);
    margin: 8px 0 0 0;
}

/* Radio Group */
.fceu-radio-group {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

.fceu-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--gray-700);
    cursor: pointer;
}

.fceu-radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Textarea */
.fceu-form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    box-sizing: border-box;
    resize: vertical;
}

.fceu-form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Form Section */
.fceu-form-section {
    margin-bottom: 30px;
}

/* Evaluation Form Specific */
.fceu-evaluation-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.fceu-evaluation-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.fceu-evaluation-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--gray-200);
}

.fceu-evaluation-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 10px 0;
}

.fceu-evaluation-subtitle {
    font-size: 18px;
    color: var(--gray-700);
    margin: 0 0 15px 0;
}

.fceu-evaluation-description {
    font-size: 15px;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.6;
}

.fceu-form-actions {
    margin-top: 40px;
}

/* Loading State */
.fceu-form-loading {
    text-align: center;
    padding: 40px;
}

.fceu-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.fceu-form-loading p {
    color: var(--gray-700);
    font-size: 16px;
}

/* Success State */
.fceu-form-success {
    text-align: center;
    padding: 60px 40px;
}

.fceu-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    font-size: 48px;
    margin-bottom: 24px;
}

.fceu-form-success h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 12px 0;
}

.fceu-form-success p {
    font-size: 16px;
    color: var(--gray-700);
    margin: 0 0 30px 0;
}

/* Register Container */
.fceu-register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    padding: 20px;
}

.fceu-register-wrapper {
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.fceu-register-form-container {
    padding: 60px 50px;
}

.fceu-register-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 10px 0;
}

.fceu-register-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    margin: 0 0 30px 0;
}

.fceu-login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray-500);
}

.fceu-login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.fceu-login-link a:hover {
    text-decoration: underline;
}

/* Success Message */
.fceu-success-message {
    background: #d1fae5;
    border: 1px solid var(--secondary-color);
    color: #065f46;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.fceu-success-icon {
    font-size: 18px;
}

/* Form Row */
.fceu-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .fceu-form-row {
        grid-template-columns: 1fr;
    }

    .fceu-login-wrapper {
        flex-direction: column;
    }

    .fceu-login-branding {
        padding: 40px 30px;
    }

    .fceu-brand-title {
        font-size: 32px;
    }

    .fceu-features {
        gap: 20px;
    }

    .fceu-feature-icon {
        font-size: 24px;
    }

    .fceu-login-form-wrapper {
        padding: 40px 30px;
    }

    .fceu-login-title {
        font-size: 28px;
    }
}
