/* Custom CSS for Bill Collection System */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Sidebar */
.sidebar {
    min-height: 100vh;
    width: 200px;
    position: fixed;
    top: 0;
    left: 0;
    background: #212529;
    z-index: 100;
    transition: all 0.3s ease-in-out;
    margin-left: 0; 
}

.sidebar.active {
    margin-left: -200px; 
}

/* Sidebar links */
.sidebar .components a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s;
}

.sidebar .components a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Main Content */
.main-content {
    margin-left: 200px;
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.main-content.sidebar-collapsed {
    margin-left: 0; 
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .sidebar {
        margin-left: -200px; 
    }
    .sidebar.active {
        margin-left: 0; 
    }
    .main-content {
        margin-left: 0;
    }
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.03);
}

/* Tables */
.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
}

/* Buttons */
.btn {
    border-radius: 6px;
}

/* Receipt Card */
.receipt-card {
    max-width: 800px;
    margin: 0 auto;
}




