/* Admin Dashboard Additional Styles */
/* These styles are specific to admin pages and should be added to main.css or loaded separately */

/* Attention badge — red bubble, white text (e.g. pending interview count) */
.pending-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
}

.quick-action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(15, 22, 51, 0.4);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.quick-action-card:hover {
    background: rgba(15, 22, 51, 0.6);
    border-color: rgba(96, 165, 250, 0.4);
    transform: translateY(-2px);
}

.quick-action-card .action-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.quick-action-card .action-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #e5e7eb;
}

.quick-action-card .action-description {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Mobile drawer styling lives in layout-shared.css — these rules were global
   (not admin-scoped) and leaked into every role's drawer. */

/* Activity Cards Mobile */
.activity-cards-mobile {
    display: none;
}

.activity-card-mobile {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.activity-card-mobile-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.activity-card-mobile-name {
    font-weight: 500;
    color: #e5e7eb;
}

.activity-card-mobile-role {
    font-size: 0.875rem;
    color: #9ca3af;
}

.activity-card-mobile-activity {
    color: #d1d5db;
    margin-bottom: 0.5rem;
    padding-left: 2.5rem;
}

.activity-card-mobile-time {
    color: #6b7280;
    font-size: 0.875rem;
    padding-left: 2.5rem;
}

@media (max-width: 768px) {
    /* .mobile-menu-toggle / .mobile-nav visibility is handled in layout-shared.css */

    .header-nav {
        display: none;
    }

    .header-user {
        display: none;
    }

    .header-user-name {
        display: none;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .card-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .mb-4 {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .hero-title {
        font-size: 1.75rem;
        text-align: center;
    }

    .muted {
        text-align: center;
    }

    .table-container {
        display: none;
    }

    .activity-cards-mobile {
        display: block !important;
    }

    .data-table {
        font-size: 0.875rem;
    }

    .btn {
        width: 100%;
    }

    /* Center title and reduce font size */
    .hero-title {
        text-align: center;
        font-size: 1.5rem !important;
    }

    /* Make buttons smaller and stack */
    .mb-4 > div:last-child {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .mb-4 > div:last-child .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    /* User Activity - center title and stack filters */
    .card-header {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
        gap: 1rem;
    }

    .card-header h2 {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .card-grid-4 {
        grid-template-columns: 1fr;
    }
}
