/* ── NEW QUESTION CARD (GLASS & BENTO STYLE) ── */
.nqc-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0px 10px 35px rgba(15, 23, 42, 0.05), 0px 2px 5px rgba(15, 23, 42, 0.03);
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    overflow: hidden;
    height: 100%;
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
}

.nqc-card:hover {
    box-shadow: 0px 20px 45px rgba(15, 23, 42, 0.1);
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(20, 184, 166, 0.3);
}

.nqc-text-on-surface {
    color: #0f172a;
}

.nqc-text-on-surface-variant {
    color: #64748b;
}

.nqc-text-secondary {
    color: #2563eb;
}

.nqc-bg-secondary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

/* VIBRANT PENDING BADGE (TEAL/MINT) */
.nqc-bg-surface-highest {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid rgba(45, 212, 191, 0.3);
}

.nqc-body {
    padding: 24px;
    flex-grow: 1;
}

.nqc-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.nqc-badge {
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 20px;
}

.nqc-date {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nqc-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 32px;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nqc-card:hover .nqc-title {
    color: #0f766e;
}

.nqc-excerpt {
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 12px;
    color: #475569;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ANSWERED FOOTER */
.nqc-footer-answered {
    background: linear-gradient(to right, rgba(37, 99, 235, 0.04), rgba(37, 99, 235, 0.01));
    border-top: 1px solid rgba(37, 99, 235, 0.08);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: background 0.3s ease;
}

.nqc-card:hover .nqc-footer-answered {
    background: linear-gradient(to right, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
}

/* VIBRANT PENDING FOOTER (TEAL/MINT) */
.nqc-footer-pending {
    background: linear-gradient(to right, rgba(20, 184, 166, 0.05), rgba(20, 184, 166, 0.01));
    border-top: 1px solid rgba(20, 184, 166, 0.15);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.nqc-footer-pending::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer-pending 3s infinite;
}

.nqc-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.nqc-author-avatar {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 9999px;
    overflow: hidden;
    box-shadow: 0 0 0 2px #ffffff, 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nqc-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nqc-author-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.nqc-author-name-row {
    display: block;
    line-height: 1.35;
    font-size: 14px;
    font-weight: 800;
}

.nqc-author-role {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #64748b;
    text-transform: uppercase;
}

.nqc-view-btn {
    background: #ffffff;
    padding: 7px 14px;
    border-radius: 9999px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0px 4px 12px rgba(15, 23, 42, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.nqc-card:hover .nqc-view-btn {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0px 8px 20px rgba(37, 99, 235, 0.2);
}

/* PENDING ICON WITH PULSE (TEAL/MINT) */
.nqc-pending-icon-wrapper {
    width: 46px;
    height: 46px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
    animation: pulse-teal 2s infinite;
    position: relative;
    z-index: 2;
}

.nqc-pending-text-primary {
    font-size: 15px;
    font-weight: 800;
    color: #0f766e;
    position: relative;
    z-index: 2;
}

.nqc-pending-text-secondary {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(15, 118, 110, 0.8);
    position: relative;
    z-index: 2;
}

@keyframes pulse-teal {
    0% {
        box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(20, 184, 166, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(20, 184, 166, 0);
    }
}

@keyframes shimmer-pending {
    100% {
        left: 200%;
    }
}