.review-section {
    padding: 120px 0 80px;
    position: relative;
}

.review-form-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    padding: 48px;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.form-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.form-header p {
    font-size: 18px;
    color: #64748b;
    font-weight: 400;
}

.form-group-review {
    margin-bottom: 28px;
}

.form-group-review label {
    display: block;
    margin-bottom: 10px;
    color: #334155;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

.required-star {
    color: #ef4444;
    margin-left: 4px;
}

.form-group-review input,
.form-group-review select,
.form-group-review textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
}

.form-group-review input:focus,
.form-group-review select:focus,
.form-group-review textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group-review textarea {
    resize: vertical;
    min-height: 120px;
}

.rating-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.rating-wrapper:hover {
    border-color: #6366f1;
    background: white;
}

.rating-container {
    display: flex;
    gap: 8px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating-container input[type="radio"] {
    display: none;
}

.rating-container label {
    cursor: pointer;
    font-size: 32px;
    color: #cbd5e1;
    transition: all 0.2s ease;
    filter: grayscale(100%);
}

.rating-container input[type="radio"]:checked ~ label,
.rating-container label:hover,
.rating-container label:hover ~ label {
    color: #fbbf24;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.rating-text {
    color: #64748b;
    font-size: 14px;
    margin-left: auto;
}

.submit-btn-review {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.submit-btn-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.35);
}

.submit-btn-review:active {
    transform: translateY(0);
}

.submit-btn-review:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.alert-review {
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 28px;
    display: none;
    animation: slideDown 0.4s ease-out;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-review.success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #6ee7b7;
}

.alert-review.error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #fca5a5;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .review-section {
        padding: 100px 0 60px;
    }

    .review-form-container {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .form-header h1 {
        font-size: 28px;
    }

    .form-header p {
        font-size: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rating-container label {
        font-size: 28px;
    }
}