/* ============================================
   Evaluation Form Styles
   ============================================ */

.evaluation-section {
    min-height: 100vh;
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a2137 100%);
}

.evaluation-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg, #1a2137);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* ============================================
   Evaluation Header
   ============================================ */

.evaluation-header {
    background: linear-gradient(135deg, var(--primary-blue, #2c4f8c) 0%, var(--primary-blue-dark, #1a3356) 100%);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.eval-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-orange, #f5a623) 0%, var(--accent-gold, #ffd966) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 20px rgba(245, 166, 35, 0.4);
}

.eval-icon i {
    font-size: 2.5rem;
    color: #0a0e1a;
}

.evaluation-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.eval-subtitle {
    font-size: 1.2rem;
    color: var(--accent-gold, #ffd966);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.eval-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   Form Sections
   ============================================ */

.evaluation-form {
    padding: 2.5rem;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold, #ffd966);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: var(--accent-orange, #f5a623);
}

/* ============================================
   Form Groups
   ============================================ */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #e8eaf0;
    margin-bottom: 0.5rem;
}

.required {
    color: #ff6b6b;
    font-weight: 700;
}

/* ============================================
   Form Inputs
   ============================================ */

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #e8eaf0;
    transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-orange, #f5a623);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.1);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffd966' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    padding-left: 3rem;
}

[dir="rtl"] .form-select {
    background-position: right 1rem center;
    padding-left: 1rem;
    padding-right: 3rem;
}

.form-select option {
    background: #1a2137;
    color: #e8eaf0;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

/* ============================================
   Rating Groups
   ============================================ */

.rating-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.rating-option {
    flex: 1;
    min-width: 120px;
    cursor: pointer;
}

.rating-option input[type="radio"] {
    display: none;
}

.rating-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #a0a8b8;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
}

.rating-label i {
    font-size: 1rem;
}

.rating-option:hover .rating-label {
    background: rgba(245, 166, 35, 0.1);
    border-color: var(--accent-orange, #f5a623);
    color: var(--accent-gold, #ffd966);
}

.rating-option input[type="radio"]:checked + .rating-label {
    background: linear-gradient(135deg, var(--accent-orange, #f5a623) 0%, var(--accent-gold, #ffd966) 100%);
    border-color: var(--accent-orange, #f5a623);
    color: #0a0e1a;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.rating-option input[type="radio"]:checked + .rating-label i {
    color: #0a0e1a;
}

/* ============================================
   Form Actions
   ============================================ */

.form-actions {
    padding-top: 2rem;
    text-align: center;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a0e1a;
    background: linear-gradient(135deg, var(--accent-orange, #f5a623) 0%, var(--accent-gold, #ffd966) 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(245, 166, 35, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit i {
    font-size: 1.2rem;
}

/* ============================================
   Success Message
   ============================================ */

.success-message {
    padding: 4rem 2rem;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 5px 25px rgba(76, 175, 80, 0.4);
    animation: scaleIn 0.5s ease 0.2s both;
}

.success-icon i {
    font-size: 3.5rem;
    color: white;
}

.success-message h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold, #ffd966);
    margin-bottom: 1rem;
}

.success-message p {
    font-size: 1.1rem;
    color: #a0a8b8;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.btn-return {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--primary-blue, #2c4f8c);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 79, 140, 0.3);
}

.btn-return:hover {
    background: var(--primary-blue-light, #4a7bc4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 79, 140, 0.4);
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .evaluation-section {
        padding: 5rem 1rem 3rem;
    }

    .evaluation-header {
        padding: 2rem 1.5rem;
    }

    .evaluation-header h1 {
        font-size: 2rem;
    }

    .eval-subtitle {
        font-size: 1rem;
    }

    .eval-description {
        font-size: 0.9rem;
    }

    .evaluation-form {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .rating-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .rating-option {
        min-width: 100%;
    }

    .rating-label {
        font-size: 0.95rem;
        padding: 0.875rem;
    }

    .btn-submit {
        width: 100%;
        padding: 1rem 2rem;
    }

    .success-icon {
        width: 80px;
        height: 80px;
    }

    .success-icon i {
        font-size: 2.5rem;
    }

    .success-message h2 {
        font-size: 2rem;
    }

    .success-message p {
        font-size: 1rem;
    }

    .btn-return {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .evaluation-header h1 {
        font-size: 1.75rem;
    }

    .eval-icon {
        width: 60px;
        height: 60px;
    }

    .eval-icon i {
        font-size: 2rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        font-size: 0.95rem;
    }
}

/* ============================================
   RTL Support
   ============================================ */

[dir="rtl"] .section-title {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn-submit,
[dir="rtl"] .btn-return {
    flex-direction: row-reverse;
}

[dir="rtl"] .rating-label {
    flex-direction: row-reverse;
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .header,
    .footer,
    .form-actions {
        display: none;
    }

    .evaluation-section {
        background: white;
        padding: 0;
    }

    .evaluation-container {
        box-shadow: none;
        background: white;
    }

    .evaluation-header {
        background: none;
        color: black;
    }

    .form-label,
    .section-title {
        color: black;
    }

    .rating-label {
        border-color: #ccc;
        color: black;
    }
}
