/* ── Custom utility classes matching leave-app design language ── */

/* Accent brush line at the top of the page */
.accent-brush-line {
    height: 3px;
    background: linear-gradient(90deg, #0d9488 0%, #0ea5e9 50%, #6366f1 100%);
}

/* Primary button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background-color: #0d9488;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background-color: #0f766e;
    box-shadow: 0 4px 6px -1px rgba(13, 148, 136, 0.25);
}

/* Secondary / outline button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
    cursor: pointer;
}
.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

/* Danger button */
.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background-color: #ef4444;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
    border: none;
    cursor: pointer;
}
.btn-danger:hover {
    background-color: #dc2626;
}

/* Card component */
.card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

/* Flash message styles */
.alert-success {
    background-color: #f0fdfa;
    color: #134e4a;
    border: 1px solid #99f6e4;
    border-radius: 0.5rem;
}

.alert-error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
}

/* Nav active indicator */
.nav-active-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #0d9488;
    border-radius: 1px;
}

/* Mobile slide-out overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 50;
    transition: opacity 0.2s ease;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 16rem;
    background-color: #fff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 51;
    display: flex;
    flex-direction: column;
}

/* Smooth scrollbar for custom legends */
.custom-scrollbar::-webkit-scrollbar {
    height: 4px;
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

/* Table hover effect */
.table-row-hover:hover {
    background-color: #f8fafc;
}

/* Status badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    line-height: 1.25rem;
}
.badge-active { background-color: #f0fdfa; color: #0d9488; }
.badge-inactive { background-color: #fef2f2; color: #ef4444; }
.badge-queued { background-color: #eff6ff; color: #3b82f6; }
.badge-started { background-color: #f0fdfa; color: #0d9488; }
.badge-closed { background-color: #f1f5f9; color: #64748b; }
