/* assets/css/feedback.css */
/* Professional Styles for Feedback Page */

/* 1. Page Layout & Header
-------------------------------------------------- */
.feedback-page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    animation: fadeIn 0.5s ease-in-out;
}

.feedback-header {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 2rem 2.5rem;
    margin-bottom: 2.5rem;
}

.feedback-header h1 {
    font-family: var(--font-secondary);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feedback-header p {
    font-size: 1.1rem;
    color: #dbeafe;
    opacity: 0.9;
    margin: 0;
}

.feedback-content {
    padding: 0 2.5rem 2.5rem 2.5rem;
}

/* 2. Grid Layout
-------------------------------------------------- */
.feedback-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
}

/* 3. Form Container
-------------------------------------------------- */
.feedback-form-container, .testimonials-container {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03), 0 2px 4px -1px rgba(0,0,0,0.02);
}

.feedback-form-container h3, .testimonials-container h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

textarea.form-control {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-submit:hover {
    background-color: #2563eb;
}
.btn-submit i {
    margin-right: 0.5rem;
}

/* 4. Star Rating
-------------------------------------------------- */
.rating-stars {
    display: flex;
    gap: 0.5rem;
    font-size: 1.75rem;
    color: #e5e7eb;
}
.rating-stars i {
    cursor: pointer;
    transition: color 0.2s ease;
}
.rating-stars i:hover,
.rating-stars i.fas {
    color: #f59e0b;
}

/* 5. Testimonials Section
-------------------------------------------------- */
.testimonials-list {
    max-height: 800px;
    overflow-y: auto;
    padding-right: 1rem; /* for scrollbar */
}
.testimonial-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.reviewer-name {
    font-weight: 600;
    color: var(--text-dark);
}
.time-ago {
    font-size: 0.85rem;
    color: var(--text-light);
}
.card-stars {
    color: #f59e0b;
}
.unlock-info {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    background-color: #f9fafb;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}
.review-text {
    color: var(--text-dark);
    line-height: 1.6;
}
.no-feedback-message {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

/* 6. Alert Messages
-------------------------------------------------- */
.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border: 1px solid transparent;
}
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* 7. Responsive Design
-------------------------------------------------- */
@media (max-width: 992px) {
    .feedback-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-container {
        margin-top: 2.5rem;
    }
}
@media (max-width: 768px) {
    .feedback-content {
        padding: 0 1rem 1rem 1rem;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .feedback-form-container, .testimonials-container {
        padding: 1.5rem;
    }
}
/* Buttons */
.btn { border-radius: 50px; padding: 0.75rem 1.5rem; font-weight: 600; }
.btn-lg { padding: 0.9rem 1.5rem; font-size: 1rem; }
@keyframes shimmer-gradient-button {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.btn-primary {
    background: linear-gradient(120deg, #4361ee, #5a74f1, #7209b7, #4361ee);
    background-size: 300% 300%;
    color: white; border: none;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
    animation: shimmer-gradient-button 4s ease infinite;
    transition: all 0.4s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4); }
.btn-google { background-color: var(--white-bg); color: var(--dark-text); border: 1px solid var(--border-color); }
.btn-google:hover { background-color: #f8f9fa; }
.btn-google i { color: #DB4437; margin-right: 0.5rem; }

/* Responsive Design */
@media (max-width: 991.98px) {
    .auth-wrapper { grid-template-columns: 1fr; }
    .auth-brand-panel { display: none; }
    .auth-form-panel { padding: 2rem; }
}
