/* Dashboard Styles */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.page-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--bs-dark);
    margin-bottom: 0.25rem;
}

.page-description {
    color: var(--bs-secondary);
    margin-bottom: 0;
    font-size: 1rem;
}

/* Team Card Styles */
.team-stat {
    text-align: center;
}

.team-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.team-stat-label {
    font-size: 0.75rem;
    color: var(--bs-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.alert-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.list-group-item-action:hover {
    background-color: var(--bs-light);
}

.list-group-item .text-truncate {
    font-size: 0.9rem;
}

/* Card Enhancements */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
    transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: var(--bs-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    font-weight: 600;
}

/* Badge Styling */
.badge.rounded-pill {
    font-size: 0.75rem;
    padding: 0.35em 0.75em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .team-stat-value {
        font-size: 1.25rem;
    }
    
    .team-stat-label {
        font-size: 0.7rem;
    }
}

/* Statistics Cards */
.stats-card {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary) 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
}

.stats-card-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.stats-card-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.stats-card-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Ticket List Enhancements */
.ticket-item {
    transition: background-color 0.15s ease-in-out;
    border-radius: 0.375rem;
    margin-bottom: 0.25rem;
}

.ticket-item:hover {
    background-color: var(--bs-light);
}

.ticket-priority-high {
    border-left: 4px solid var(--bs-warning);
}

.ticket-priority-critical {
    border-left: 4px solid var(--bs-danger);
}

.ticket-overdue {
    background-color: rgba(var(--bs-danger-rgb), 0.1);
}

/* Team Card Distinctive Styling */
.team-card {
    background: #4f46e5;
    border: 1px solid #4338ca !important;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3) !important;
}

.team-card-header {
    background: transparent !important;
    border-bottom: none !important;
}

.team-card-body {
    background: transparent;
}

.team-card .card-title {
    font-weight: 600;
    color: white !important;
}

.team-card .text-white {
    color: white !important;
}

.team-card .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Ensure team card links maintain white text color */
a .team-card .card-title,
a .team-card .text-white {
    color: white !important;
}

a .team-card .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

a:hover .team-card .card-title,
a:hover .team-card .text-white {
    color: white !important;
}

a:hover .team-card .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}