/* HR specific styling aligning with the existing glassmorphic theme */

.hr-balances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.hr-balance-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hr-balance-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hr-balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.hr-balance-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.hr-balance-color-tag {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hr-balance-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.hr-stat-item {
    display: flex;
    flex-direction: column;
}

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

.hr-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 4px;
}

.hr-stat-value.available {
    color: var(--accent-primary);
}

/* Status Badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.pending {
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.status-badge.approved {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-badge.rejected {
    background: rgba(244, 67, 54, 0.15);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.status-badge.cancelled {
    background: rgba(158, 158, 158, 0.15);
    color: #9E9E9E;
    border: 1px solid rgba(158, 158, 158, 0.3);
}

/* Sub-nav Active styling */
.nav-menu .sub-nav-item.active a {
    color: var(--accent-primary) !important;
    background: rgba(255,255,255,0.03);
    font-weight: 600;
}

/* Holidays styling */
.holiday-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.holiday-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
}

.holiday-info {
    display: flex;
    flex-direction: column;
}

.holiday-name {
    font-weight: 600;
}

.holiday-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.holiday-type-tag {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
}
