/**
 * Lusaka Eye Hospital — Accounts Module Stylesheet
 * Consistent with LEH Hospital Portal Design Language
 */

/* Custom Smooth Transitions */
.view-section {
    display: none;
    animation: fadeIn 0.2s ease-in-out forwards;
}

.view-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sidebar navigation styling */
.sidebar-nav-link {
    color: #94a3b8;
    transition: all 0.2s ease;
}

.sidebar-nav-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.06);
}

.sidebar-nav-link.active {
    color: #ffffff !important;
    background-color: #0284c7 !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.sidebar-nav-link.active i {
    color: #ffffff !important;
}

/* Custom Scrollbars */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Pricing margin pill badge */
.margin-badge-high {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.margin-badge-medium {
    background-color: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.margin-badge-low {
    background-color: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

/* Print Stylesheet for Reports */
@media print {
    body {
        background: white !important;
        color: black !important;
    }

    header,
    aside,
    .suite-switcher-bar,
    #mobile-nav-toggle,
    .no-print,
    button,
    input[type="search"] {
        display: none !important;
    }

    main {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .print-only {
        display: block !important;
    }

    .shadow-sm,
    .shadow-xs,
    .shadow {
        box-shadow: none !important;
    }

    .border {
        border-color: #ccc !important;
    }
}