/* custom.css */

.btn-rounded {
    border-radius: 8px;
}

.input-rounded {
    border-radius: 8px;
}

.table-rounded {
    border-radius: 12px;
    overflow: hidden;
}

.card-rounded {
    border-radius: 12px;
}

.title-premium {
    font-weight: 600;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.badge-status {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
}

.shadow-sm-custom {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-link.active {
    font-weight: 600;
    color: #0d6efd !important;
    border-bottom: 2px solid #0d6efd;
}

/* Custom Fonts */
body, .table, .btn, input, .form-control {
    font-size: 14px;
}

/* Heading */
.title-premium {
    font-weight: 600;
    font-size: 22px; /* একটু ছোট করেছি */
    color: #333;
    margin-bottom: 20px;
}

/* Table Row Padding Slim */
.table td, .table th {
    padding: 0.75rem;
    vertical-align: middle;
}

/* Badge */
.badge-status {
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
}

/* Card */
.card-rounded {
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* Premium White Card */
.card {
    background: linear-gradient(135deg, #b0c9ef, #dbe6f8) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

.card h5 {
    color: #2c3e50;
}


/* Soft Light Background */
.soft-card-bg {
    background-color: #f3e8ff; /* Light lilac-purple */
    border-radius: 20px;
}

/* Title Styling */
.title-premium {
    font-weight: 700;
    font-size: 24px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Form Control Styling */
.form-control, .form-select {
    border-radius: 10px;
    /* padding: 10px; */
    font-size: 14px;
}

/* Button Styling */
.btn-success {
    background-color: #28a745;
    border: none;
    color: #fff;
}

.btn-success:hover {
    background-color: #218838;
}

/* language change custom.css */
.navbar-nav .btn-outline-secondary {
    padding: 4px 10px;
    font-size: 13px;
}


/* Toastr Custom Styling */
.toast-success {
    background-color: #28a745 !important;
    color: #fff !important;
}

.toast-error {
    background-color: #dc3545 !important;
    color: #fff !important;
}

.toast-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.toast-info {
    background-color: #17a2b8 !important;
    color: #fff !important;
}

/* Optional - Border radius & shadow */
.toast {
    border-radius: 8px !important;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2) !important;
}

.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
.dropdown-menu::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}
.dropdown-menu::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.dropdown-menu .dropdown-item {
    font-size: 13px;
}
.dropdown-menu .dropdown-item small {
    font-size: 12px;
}
.dropdown-header, .dropdown-footer {
    font-size: 14px;
}

/* Submenu parent container */
.dropdown-submenu {
    position: relative;
}

/* Hide submenu by default */
.dropdown-submenu > .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -1px;
    z-index: 1000;
    min-width: 200px;
}

/* Show submenu on hover */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Arrow icon on the right */
.dropdown-submenu > a::after {
    content: "\f105"; /* Font Awesome: right arrow */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    float: right;
    margin-left: 6px;
    font-size: 12px;
}

/* Optional: active link style */
.dropdown-submenu .dropdown-item.active {
    background-color: #0d6efd !important;
    color: #fff !important;
    font-weight: 600;
}

.dropdown-toggle::after{
    border-top: none;
}

/* Fullscreen loader overlay */
#globalLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* semi-transparent */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner container */
.loader-spinner {
    text-align: center;
}


.sticky-top {
    z-index: 1030; /* Bootstrap এর default */
}



.sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    border-left: 4px solid #ffffff;
    font-weight: bold;
}
