﻿/* ============================================================
 Admin Tutorials Styles
 ============================================================ */

/* ====== Current Files (Edit Page) ====== */
.current-files {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.current-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f9fafb;
    border-radius: 12px;
}

.current-file-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.current-file-info {
    flex: 1;
    min-width: 0;
}

.current-file-name {
    font-weight: 700;
    color: #1f2937;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.current-file-size {
    font-size: 0.75rem;
    color: #6b7280;
}

/* ====== Comment Admin Cards ====== */
.comments-admin-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-admin-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-right: 4px solid #10b981;
    transition: all 0.2s;
}

    .comment-admin-card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

    .comment-admin-card.pending {
        border-right-color: #f59e0b;
        background: #fffbeb;
    }

.comment-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.comment-admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-admin-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.comment-admin-text {
    background: #f9fafb;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.8;
    margin: 12px 0;
}

.comment-admin-contact {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 12px;
}

    .comment-admin-contact span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .comment-admin-contact i {
        color: #10b981;
    }

.comment-admin-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

/* ============================================================
 Responsive
 ============================================================ */
@media (max-width: 576px) {
    .comment-admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

        .comment-admin-header .text-end {
            text-align: right !important;
        }
}
