body {
    padding-top: 60px;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}


/* Dashboard Card  */
.container-fluid{
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.content-wrapper {
    margin-left: 250px;
    transition: margin-left 0.3s ease-in-out;
}

/* On mobile: content full width */
@media (max-width: 991.98px) {
    .content-wrapper {
        margin-left: 0;
    }
}
.card {
    /* background: linear-gradient(135deg, #9f7840, #c0ab5f); */
    background:#f5f2f2;
    transition: transform 0.8s;

}

input, select, button {

    transition: all 0.2s ease-in-out;
}
input:focus, select:focus {
    box-shadow: 0 0 5px rgba(255,255,255,0.5);
}



.sidebar {
    width: 250px;
    height: 100vh;
    background: #2e1c0c;
    color: white;
    overflow-y: auto;
    transition: all 0.3s ease-in-out;
}

.sidebar h4 {
    font-size: 20px;
    font-weight: bold;
}

.sidebar .btn {
    width: 100%;
    text-align: left;
    padding: 10px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 300;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}


.sidebar .btn:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(to right, #77530a, #5a3612);
    box-shadow: 0 4px 15px rgba(175, 100, 1, 0.3);
}

/* Soft Glow */
.sidebar .btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 223, 186, 0.1);
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.sidebar .btn:hover::after {
    opacity: 1;
}

/* Icon Animation */
.sidebar .btn:hover i {
    animation: bounce 0.5s ease-in-out;
}

/* More Natural Bounce */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(1px); }
}

/* Push sidebar off screen on small devices */
@media (max-width: 991.98px) {
    .sidebar {
        left: -250px;
        top: 0;
        height: 100vh;
        width: 250px;
        z-index: 1050;
        transition: all 0.3s ease-in-out;
    }

    .sidebar.show {
        left: 0;
    }

    .content-wrapper {
        transition: all 0.3s ease-in-out;
    }

    .body.sidebar-open .content-wrapper {
        filter: blur(1px); /* Optional visual cue */
    }

    /* Optional: overlay background */
    .body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 1040;
        display: none;
    }

    .body.sidebar-open::before {
        display: block;
    }
}


 /* Dropdown Menus */
 .submenu, .catmenu, .profilemenu, .purchasemenu, .assetmenu {
    display: none;
    padding-left: 10px;
    transition: max-height 0.3s ease-in-out;
}

.submenu.show, .catmenu.show, .profilemenu.show, .purchasemenu.show, .assetmenu.show {
    display: block;
}


/* Navbar Styles */
.navbar {
    background-color: #3b210d;
    color: #f5e8d8;
    height: 65px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar .w-100 {
    padding-left: 20px;
    padding-right: 20px;
}

/* Profile Image */
.profile-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 2px solid #fff;
}

/* Dropdown */
.dropdown-menu {
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.dropdown-item {
    font-size: 0.9rem;
    padding: 10px 15px;
}
.dropdown-item:hover {
    transform: scale(1.02);
    background: linear-gradient(to right, #77530a, #5a3612);
    box-shadow: 0 4px 15px rgba(175, 100, 1, 0.3);
}


.btn-secondary {
    background-color: #3b210d;
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #8d7048;
}

.btn-coffee {
    background-color: #42280e;
    color: white;
}
.btn-coffee:hover {
    background-color: #4a2514;
}
#category-selector {
        display: block;
    }

/* Tax Setting  */
.custom-card {
    background: #f5f2f2;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.custom-card h3 {
    color: #5e412f;
}

.modern-table th {
    background-color: #5e412f;
    color: white;
    text-align: center;
}

.modern-table td {
    text-align: center;
    vertical-align: middle;
}

.modern-table tbody tr:hover {
    background-color: #f4f1eb;
}


.form-label {
    font-weight: bold;
    margin-bottom: 5px;
}

.form-control, .form-select {
    border-radius: 0.75rem;
    padding: 0.5rem;
    border: 1px solid #b4b4b4;
    transition: all 0.3s;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);

}

.input-group-text {
    background-color: #fff3e0;
}

.form-control:focus {
    border-color: #8e6c4f;
    box-shadow: 0 0 0 0.25rem rgba(142, 108, 79, 0.25);
}

.btn-primary {
    border: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #010052ef;
}




.form-img {
    max-width: 100px;
    margin: 0 auto 1rem;
}

.submenu a:hover {
    background-color: #e9e1dd;
}
.rotate-180 {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* for Printing Form  */
@media print {
    body {
        font-size: 12px;
        margin: 0;
        padding: 0;
    }
    .slip-container {
        width: 300px;
        margin: auto;
    }
    table {
        width: 100%;
    }
}


