/* Feedback Page - Minimalist Card Style */

.feedback-section {
    padding: 6rem 0 4rem;
    min-height: 100vh;
    background: #f9fafb;
}

.feedback-container {
    max-width: 1200px;
}

.feedback-header {
    text-align: center;
    margin-bottom: 3rem;
}

.feedback-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.75rem 0;
}

.feedback-header p {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
}

/* Search Bar - Minimalist */
.feedback-search {
    max-width: 500px;
    margin: 0 auto 3rem;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #111827;
    background: #ffffff;
    transition: all 0.2s;
}

.search-box input:focus {
    outline: none;
    border-color: #9ca3af;
}

.search-box input::placeholder {
    color: #9ca3af;
}

.search-box i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.9rem;
    pointer-events: none;
}

/* Feedback Grid - Card Style */
.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.feedback-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.feedback-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feedback-header-section {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feedback-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feedback-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.feedback-user-info {
    flex: 1;
    min-width: 0;
}

.feedback-name {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.feedback-email {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0 0 0.5rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feedback-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.feedback-rating i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.feedback-rating i.empty {
    color: #e5e7eb;
}

.feedback-message {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1rem;
}

.feedback-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.feedback-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #9ca3af;
}

.feedback-date i {
    font-size: 0.8rem;
}

.feedback-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.feedback-status.approved {
    background: #d1fae5;
    color: #065f46;
}

.feedback-status.pending {
    background: #fef3c7;
    color: #92400e;
}

/* Loading and Empty States */
.loading-message {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
    font-size: 1rem;
}

.empty-message {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.empty-message i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.empty-message h3 {
    font-size: 1.5rem;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.empty-message p {
    color: #6b7280;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feedback-section {
        padding: 5rem 0 3rem;
    }

    .feedback-header {
        margin-bottom: 2rem;
    }

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

    .feedback-header p {
        font-size: 1rem;
    }

    .feedback-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feedback-card {
        padding: 1.5rem;
    }

    .feedback-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}
