
/* =========================
   Global
========================= */

        body {
            background: #f4f6f9;
        }

        /* Sidebar */
        .sidebar {
            width: 240px;
            min-height: 100vh;
            background: #111827;
            color: white;
            position: fixed;
            transition: 0.3s;
        }

        .sidebar a {
            color: #cbd5e1;
            display: block;
            padding: 12px 20px;
            text-decoration: none;
            border-radius: 8px;
            margin: 5px 10px;
        }

        .sidebar a:hover {
            background: #1f2937;
            color: white;
        }

        .sidebar h4 {
            padding: 20px;
        }

        /* Main content */
        .content {
            margin-left: 240px;
            padding: 20px;
            transition: 0.3s;
        }

        /* Mobile */
        @media (max-width: 768px) {
            .sidebar {
                left: -240px;
                position: fixed;
                z-index: 999;
            }

            .sidebar.active {
                left: 0;
            }

            .content {
                margin-left: 0;
            }
        }

        .card {
    border-radius: 18px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    transition: 0.2s;
}
.card:active {
    transform: scale(0.97);
}

        .card:hover {
            transform: translateY(-4px);
        }

        .app-header {
            display: none;
        }


 @media (max-width: 768px) {

.app-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;

    position:sticky;
    top:10px;
    z-index:999;
}

}










   #overlay {
    display: none;
}

@media (max-width: 768px) {

    .sidebar {
        left: -240px;
        position: fixed;
        z-index: 1000;
    }

    .sidebar.active {
        left: 0;
    }

    #overlay.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 999;
    }

    .content {
        margin-left: 0;
    }
}

.case-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.case-body div {
    font-size: 14px;
    margin-bottom: 4px;
}

.case-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.case-actions form {
    margin: 0;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    color: white;
}

/* Colors */
.btn-edit {
    background: #fbbf24;
}

.btn-close {
    background: #6b7280;
}

.btn-reopen {
    background: #16a34a;
}

.btn-delete {
    background: #dc2626;
}


.stat-card {
    border-radius: 16px;
    transition: 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-3px);
}





.native-card {
    border-radius: 18px;
    border: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.stat-card {
    transition: 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
}

.native-header {
    font-weight: 600;
    font-size: 15px;
}

/*Sroll bar*/
.native-scroll{
max-height:380px;
overflow-y:auto;
padding-right:10px;
scrollbar-width:thin;
scrollbar-color:#cbd5e1 transparent;
}

/* Chrome scrollbar */
.native-scroll::-webkit-scrollbar{
width:6px;
}

.native-scroll::-webkit-scrollbar-track{
background:transparent;
}

.native-scroll::-webkit-scrollbar-thumb{
background:#cbd5e1;
border-radius:10px;
}

.native-scroll::-webkit-scrollbar-thumb:hover{
background:#94a3b8;
}




.hearing-item{
padding:12px 0;
border-bottom:1px solid #e5e7eb;
}



.sms-item{
padding:12px 0;
position:relative;
}

.sms-item:not(:last-child)::after{
content:"";
display:block;
height:1px;
background:#e5e7eb;
margin-top:12px;
}

.hearing-item:hover,
.sms-item:hover{
background:#f8fafc;
border-radius:8px;
padding-left:8px;
padding-right:8px;
transition:.2s;
}




.badge-soft {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 50px;
}

/* Pulse Animation */
.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    position: relative;
}

.pulse-green { background: #28a745; }
.pulse-red { background: #dc3545; }

.pulse-green::after,
.pulse-red::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.pulse-green::after { background: rgba(40,167,69,0.5); }
.pulse-red::after { background: rgba(220,53,69,0.5); }

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2.5); opacity: 0; }
}






.case-card {
    border: 1px solid #e9ecef;
}

.divider {
    height: 1px;
    background: #f1f1f1;
    margin: 12px 0;
}

.expired-row {
    border-left: 4px solid #dc3545;
}

.pulse-badge {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220,53,69,0.6); }
    70% { box-shadow: 0 0 0 6px rgba(220,53,69,0); }
    100% { box-shadow: 0 0 0 0 rgba(220,53,69,0); }
}




/* Call link base style */
.call-link {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

/* Icon style */
.call-icon {
    font-size: 13px;
    color: #0084f8; /* default grey */
    transition: 0.2s ease;
}

/* Hover effect */
.call-link:hover {
    color: #198754; /* Bootstrap green */
}

.call-link:hover .call-icon {
    color: #198754;
}



/* ================= Footer ================= */

.app-footer {
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    padding: 10px 0;
    font-size: 13px;
    color: #6c757d;
    margin-top: 40px;
}

.app-footer strong {
    color: #212529;
}

.app-footer small {
    letter-spacing: 0.3px;
}



.sidebar {
    position: fixed;
    width: 230px;
    height: 100vh;
    background: #0f172a;
    color: #fff;
}

.sidebar-top {
    padding-bottom: 120px; /* bottom space reserve */
}

.sidebar-bottom {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 0 15px;
}

/* Balance Card */
.balance-card {
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 10px;
    font-size: 13px;
}

.balance-amount {
    font-size: 16px;
    font-weight: 600;
    color: #00ff9d;
}

/* Low balance */
.low-balance {
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid #ff4d4d;
}

.low-balance .balance-amount {
    color: #ff4d4d;
}

.low-warning {
    font-size: 12px;
    margin-top: 5px;
    color: #ff4d4d;
}





.header-left {
    width: 60px;
}

.header-center {
    flex: 1;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
}

.header-right {
    width: 80px;
    display: flex;
    justify-content: flex-end;
}

.sms-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    background: #198754;
    color: #fff;
    padding: 4px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.sms-badge.low {
    background: #dc3545;
    animation: pulse 1.2s infinite;
}

.warning-icon {
    font-size: 11px;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220,53,69,0.7); }
    70% { box-shadow: 0 0 0 6px rgba(220,53,69,0); }
    100% { box-shadow: 0 0 0 0 rgba(220,53,69,0); }
}
.case-card-mob {
    margin-bottom: 20px!important;
}


.active-menu {
    background-color: rgba(255,255,255,0.15);
    padding: 8px 12px;
    border-radius: 6px;
    display: block;
    font-weight: 600;
}

.sidebar a.active-menu {
    background: #1f2937;
    color: #fff !important;
}

/* Sidebar base */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100%;
    background: #111827;
    color: #fff;
    transform: translateX(0);
    transition: transform 0.35s ease-in-out;
    z-index: 1000;
}

/* Hidden state (mobile) */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }
}

/* Overlay */
#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 900;
}

#overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Content smooth shift */
.content {
    margin-left: 250px;
    transition: margin-left 0.35s ease-in-out;
}

@media (max-width: 991px) {
    .content {
        margin-left: 0;
    }
}


.sidebar a {
    transition: all 0.2s ease;
}

.sidebar a:hover {
    padding-left: 18px;
    background: rgba(255,255,255,0.08);
    
       
} 
    
    
    
    
.clickable-hearing {
    border-radius: 12px;
    transition: all 0.2s ease;
}

.clickable-hearing:hover {
    background-color: #f8f9fa;
}

.clickable-hearing:active {
    transform: scale(0.97);
}
    
    
 .card-blue  {

    background: linear-gradient(135deg, #0d1827, #06367e); 
    color: white; 
    border-radius: 16px;
 }
    
    
    /* Settings Header */

.settings-header{
padding:18px 20px;
border-radius:12px;
box-shadow:0 2px 10px rgba(0,0,0,0.04);
}


/* SaaS Card */

.settings-card{
background:white;
padding:25px;
border-radius:14px;
box-shadow:0 3px 20px rgba(0,0,0,0.05);
}


/* Tabs */

.settings-tabs .nav-link{
border-radius:10px;
padding:8px 16px;
font-weight:500;
color:#6c757d;
}

.settings-tabs .nav-link.active{
background:#0d6efd;
color:white;
}


/* Mobile Native Look */

@media (max-width:768px){

.settings-tabs{
display:flex;
justify-content:space-between;
gap:5px;
}

.settings-tabs .nav-link{
flex:1;
text-align:center;
font-size:13px;
padding:10px 5px;
}

.settings-card{
padding:18px;
border-radius:12px;
}

}

.settings-save{
margin-top:25px;
}

@media (max-width:768px){

.settings-save{
position:sticky;
bottom:10px;
}

.settings-save button{
border-radius:12px;
padding:12px;
font-weight:600;
}




.pagination-wrapper nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding-left: 0;
    margin: 0;
}

.pagination li {
    list-style: none;
}

.pagination li a,
.pagination li span {
    padding: 6px 12px;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 6px;
}

.pagination .active span {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}




/*LOGIN PAGE*/






/*REGISTER PAGE*/


}



    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
