/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   BSJ THEME VARIABLES
========================================================= */

:root {
    --bsj-green: #72b944;
    --bsj-green-dark: #5fa634;
    --bsj-dark: #174d27;
    --bsj-light: #f4faf5;
    --bsj-border: #e6eee7;
    --bsj-text: #31513a;
}


/* =========================================================
   LOGIN PAGE
   IMPORTANT: LOGIN DESIGN PRESERVED
========================================================= */

body {

    min-height: 100vh;

    font-family:
        "Poppins",
        Arial,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #073a09 0%,
            #2f8b1d 45%,
            #36ee3f 100%
        );

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    overflow-x: hidden;

    position: relative;
}


/* =========================================================
   LOGIN BACKGROUND DECORATION
========================================================= */

body::before {

    content: "";

    position: fixed;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background: rgba(255,255,255,0.06);

    top: -180px;
    left: -150px;

}


body::after {

    content: "";

    position: fixed;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background: rgba(255,255,255,0.05);

    bottom: -250px;
    right: -180px;

}


/* =========================================================
   LOGIN WRAPPER
========================================================= */

.login-wrapper {

    width: 100%;
    max-width: 1050px;

    min-height: 590px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    background: #ffffff;

    border-radius: 25px;

    overflow: hidden;

    box-shadow:
        0 30px 80px
        rgba(0,0,0,0.25);

    position: relative;

    z-index: 2;

    animation: loginAppear 0.7s ease;
}


@keyframes loginAppear {

    from {

        opacity: 0;

        transform:
            translateY(30px)
            scale(0.97);
    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


/* =========================================================
   LOGIN LEFT
========================================================= */

.login-left {

    position: relative;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 60px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #a8dc65,
            #517a1b,
            #4f8a10
        );

    overflow: hidden;
}


.login-left::before {

    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border: 1px solid
        rgba(255,255,255,0.12);

    border-radius: 50%;

    right: -100px;
    top: -90px;
}


.login-left::after {

    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    border: 1px solid
        rgba(255,255,255,0.10);

    border-radius: 50%;

    left: -120px;
    bottom: -80px;
}


.pest-logo {

    width: 150px;
    height: 75px;

    object-fit: contain;

    margin-bottom: 30px;

    position: relative;

    z-index: 2;
}


.welcome-small {

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: rgb(194 249 127);

    margin-bottom: 12px;
}


.login-left h1 {

    font-size: 40px;

    line-height: 1.15;

    font-weight: 800;

    margin-bottom: 18px;

    position: relative;

    z-index: 2;
}


.login-left h1 span {
    color: #145002;
}


.login-left p {

    max-width: 430px;

    color: rgb(194 243 131);

    font-size: 13px;

    line-height: 1.8;

    margin-bottom: 30px;

    position: relative;

    z-index: 2;
}


.feature-list {

    display: flex;

    flex-direction: column;

    gap: 13px;

    position: relative;

    z-index: 2;
}


.feature-item {

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 12px;

    color: rgb(213 253 162);
}


.feature-item i {

    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.12);

    color: #ffffff;

    font-size: 12px;
}


/* =========================================================
   LOGIN RIGHT
========================================================= */

.login-right {

    background: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 55px;
}


.login-form-box {

    width: 100%;

    max-width: 390px;
}


.form-heading {

    margin-bottom: 30px;
}


.form-heading .admin-icon {

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #eef1ff;

    color: #508116;

    font-size: 22px;

    margin-bottom: 18px;
}


.form-heading h2 {

    color: #508116;

    font-size: 28px;

    font-weight: 800;

    margin-bottom: 7px;
}


.form-heading p {

    color: #a2da5e;

    font-size: 12px;

    margin: 0;
}


/* =========================================================
   LOGIN ERROR
========================================================= */

.login-error {

    background: #fff0f0;

    border: 1px solid #ffd0d0;

    color: #d93030;

    padding: 11px 13px;

    border-radius: 9px;

    font-size: 11px;

    margin-bottom: 18px;

    display: flex;

    align-items: center;

    gap: 8px;
}


/* =========================================================
   LOGIN FORM
========================================================= */

.form-group-custom {

    margin-bottom: 20px;
}


.form-group-custom label {

    display: block;

    color: #30364d;

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 8px;
}


.input-wrapper {
    position: relative;
}


.input-wrapper > i {

    position: absolute;

    left: 17px;
    top: 50%;

    transform: translateY(-50%);

    color: #8d94ad;

    font-size: 14px;

    z-index: 2;
}


.custom-input {

    width: 100%;

    height: 52px;

    border: 1px solid #e0e3ed;

    border-radius: 10px;

    background: #f9fafc;

    padding: 0 45px;

    color: #252b40;

    font-size: 12px;

    outline: none;

    transition: 0.3s ease;
}


.custom-input::placeholder {
    color: #a8adbc;
}


.custom-input:focus {

    background: #ffffff;

    border-color: #75a836;

    box-shadow:
        0 0 0 4px
        rgba(38,65,152,0.08);
}


.password-toggle {

    position: absolute;

    right: 15px;
    top: 50%;

    transform: translateY(-50%);

    border: none;

    background: transparent;

    color: #9ba1b4;

    cursor: pointer;

    font-size: 13px;

    padding: 4px;
}


.password-toggle:hover {
    color: #508116;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-btn {

    width: 100%;

    height: 52px;

    border: none;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #488101,
            #233b04
        );

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    box-shadow:
        0 8px 20px
        rgba(38,65,152,0.22);

    transition: 0.3s ease;
}


.login-btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(38,65,152,0.30);
}


.login-btn:active {
    transform: translateY(0);
}


.security-text {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    margin-top: 20px;

    color: #9da2b2;

    font-size: 10px;
}


.security-text i {
    color: #5fa85c;
}


.copyright {

    text-align: center;

    margin-top: 25px;

    color: #b0b4c0;

    font-size: 9px;
}


/* =========================================================
   LOGIN TABLET
========================================================= */

@media (max-width: 900px) {

    .login-wrapper {

        max-width: 720px;

        grid-template-columns:
            0.85fr 1.15fr;

        min-height: 540px;
    }

    .login-left {
        padding: 40px;
    }

    .login-left h1 {
        font-size: 32px;
    }

    .login-right {
        padding: 40px;
    }
}


/* =========================================================
   LOGIN MOBILE
========================================================= */

@media (max-width: 767px) {

    body {

        padding: 15px;

        align-items: center;
    }


    .login-wrapper {

        display: block;

        width: 100%;

        max-width: 480px;

        min-height: auto;

        border-radius: 20px;
    }


    .login-left {

        padding: 30px 25px;

        text-align: center;

        min-height: 240px;
    }


    .pest-logo {

        width: 125px;
        height: 60px;

        margin: 0 auto 15px;
    }


    .welcome-small {

        font-size: 9px;

        letter-spacing: 1.5px;

        margin-bottom: 8px;
    }


    .login-left h1 {

        font-size: 27px;

        margin-bottom: 9px;
    }


    .login-left p {

        font-size: 10px;

        line-height: 1.6;

        margin: 0 auto 18px;
    }


    .feature-list {
        display: none;
    }


    .login-right {
        padding: 32px 25px 28px;
    }


    .form-heading {
        margin-bottom: 22px;
    }


    .form-heading .admin-icon {

        width: 48px;
        height: 48px;

        font-size: 19px;

        margin-bottom: 13px;
    }


    .form-heading h2 {
        font-size: 24px;
    }


    .form-heading p {
        font-size: 10px;
    }


    .form-group-custom {
        margin-bottom: 16px;
    }


    .custom-input,
    .login-btn {
        height: 49px;
    }


    .copyright {
        margin-top: 18px;
    }
}


/* =========================================================
   LOGIN SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    body {
        padding: 10px;
    }


    .login-wrapper {
        border-radius: 17px;
    }


    .login-left {
        padding: 24px 18px;
    }


    .login-left h1 {
        font-size: 23px;
    }


    .login-right {
        padding: 27px 18px 24px;
    }


    .form-heading h2 {
        font-size: 21px;
    }


    .custom-input,
    .login-btn {

        height: 47px;

        font-size: 11px;
    }
}


/* =========================================================
   ADMIN SIDEBAR
========================================================= */

#sidebar-wrapper {

    background: #ffffff !important;

    border-right: 1px solid var(--bsj-border);

    box-shadow:
        4px 0 20px
        rgba(0,0,0,0.04);

    position: fixed;

    top: 0;
    left: 0;

    width: 240px;
    height: 100vh;

    z-index: 1100;
}


.brand-logo {

    height: 80px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #ffffff;

    border-bottom:
        1px solid var(--bsj-border);
}


.brand-logo img {

    max-width: 125px;
    max-height: 60px;

    object-fit: contain;
}


.user-details {

    padding: 18px 15px;

    border-bottom:
        1px solid var(--bsj-border);
}


.user-pointer {

    padding: 10px;

    border-radius: 12px;

    background: var(--bsj-light);
}


.side-user-img {

    width: 44px;
    height: 44px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid var(--bsj-green);
}


.side-user-name {

    color: var(--bsj-dark);

    font-size: 15px;

    font-weight: 600;

    margin: 0;
}


.sidebar-header {

    color: var(--bsj-green) !important;

    font-size: 11px !important;

    font-weight: 700 !important;

    letter-spacing: 1px;

    padding:
        22px 20px 10px !important;
}


.sidebar-menu > li > a {

    color: var(--bsj-text) !important;

    font-size: 14px;

    font-weight: 500;

    margin: 4px 12px;

    padding: 13px 15px !important;

    border-radius: 10px;

    transition: all 0.25s ease;
}


.sidebar-menu > li > a > i:first-child {

    color: var(--bsj-green);

    width: 25px;

    font-size: 17px;
}


.sidebar-menu > li > a:hover {

    background: #edf8ee !important;

    color: #2d7d32 !important;

    transform: translateX(3px);
}


.sidebar-menu > li.active > a,
.sidebar-menu > li > a.active {

    background:
        var(--bsj-green) !important;

    color: #ffffff !important;

    box-shadow:
        0 5px 15px
        rgba(114,185,68,0.22);
}


.sidebar-menu > li.active > a > i:first-child,
.sidebar-menu > li > a.active > i:first-child {

    color: #ffffff !important;
}


.sidebar-submenu {

    background: #f8fbf8 !important;

    padding:
        5px 0 8px !important;
}


.sidebar-submenu li a {

    color: #56705c !important;

    font-size: 13px;

    padding:
        9px 15px 9px 48px !important;

    transition: 0.2s ease;
}


.sidebar-submenu li a:hover {

    color: #2d7d32 !important;

    background: #eef8ef !important;
}


.sidebar-submenu li a i {

    color: var(--bsj-green) !important;

    font-size: 12px;
}


/* =========================================================
   ADMIN TOP NAVBAR
========================================================= */

.topbar-nav {

    position: fixed;

    top: 0;

    left: 240px;

    right: 0;

    height: 70px;

    background: #ffffff !important;

    z-index: 1000;

    box-shadow:
        0 2px 12px
        rgba(0,0,0,0.08);

    border-bottom:
        1px solid #e8eee9;
}


.navbar {

    min-height: 70px;

    padding: 0 25px;
}


.navbar-brand {

    color:
        var(--bsj-dark) !important;

    font-size: 18px;

    font-weight: 700;
}


.navbar-brand span {
    color: var(--bsj-green);
}


.topbar-left {

    display: flex;

    align-items: center;
}


.menu-toggle {

    width: 42px;
    height: 42px;

    border: 0;

    border-radius: 10px;

    background: var(--bsj-light);

    color: var(--bsj-dark);

    font-size: 18px;

    margin-right: 15px;

    cursor: pointer;
}


.menu-toggle:hover {

    background:
        var(--bsj-green);

    color: #ffffff;
}


.header-right {

    display: flex;

    align-items: center;

    gap: 15px;
}


.header-icon {

    width: 40px;
    height: 40px;

    border-radius: 10px;

    background: var(--bsj-light);

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--bsj-dark);

    text-decoration: none;

    transition: 0.2s ease;
}


.header-icon:hover {

    background:
        var(--bsj-green);

    color: #ffffff;
}


.admin-profile {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 5px 10px;

    border-radius: 10px;

    background: #f7faf7;
}


.admin-profile img {

    width: 38px;
    height: 38px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid var(--bsj-green);
}


.admin-profile-text {
    line-height: 1.2;
}


.admin-profile-text strong {

    display: block;

    color: var(--bsj-dark);

    font-size: 13px;
}


.admin-profile-text small {

    color: #78917e;

    font-size: 11px;
}


/* =========================================================
   ADMIN CONTENT
========================================================= */

#content-wrapper {

    margin-left: 240px !important;

    width:
        calc(100% - 240px) !important;

    min-height:
        calc(100vh - 70px);

    position: relative;

    background: #f5f8f6;
}


.content-wrapper {

    padding: 30px;
}


.page-title {

    color: var(--bsj-dark);

    font-size: 25px;

    font-weight: 700;

    margin-bottom: 5px;

    margin-top: 50px;
}


.page-subtitle {

    color: #718579;

    font-size: 14px;

    margin-bottom: 25px;
}


/* =========================================================
   BSJ ENQUIRY PAGE
========================================================= */

.bsj-enquiry-page {

    width: 100% !important;

    margin: 0 !important;

    background: #f5f8f6;

    min-height:
        calc(100vh - 70px);

    padding: 30px;

    padding-top: 25px;
}


/* =========================================================
   ENQUIRY PAGE HEADING
========================================================= */

.bsj-page-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 50px;

    margin-bottom: 20px;
}


.bsj-page-title {

    margin: 0;

    color: var(--bsj-dark);

    font-size: 25px;

    font-weight: 700;
}


.bsj-page-subtitle {

    margin: 5px 0 0;

    color: #718579;

    font-size: 13px;
}


.bsj-main-add-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 17px;

    border-radius: 8px;

    background:
        var(--bsj-green);

    color: #ffffff !important;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none !important;

    box-shadow:
        0 5px 15px
        rgba(114,185,68,0.20);

    transition: 0.25s ease;
}


.bsj-main-add-btn:hover {

    background:
        var(--bsj-green-dark);

    color: #ffffff !important;

    transform: translateY(-1px);
}


/* =========================================================
   ENQUIRY CARD
========================================================= */

.bsj-enquiry-card {

    background: #ffffff;

    border:
        1px solid var(--bsj-border);

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 5px 20px
        rgba(23,77,39,0.07);
}


.bsj-enquiry-card-header {

    background:
        var(--bsj-dark);

    padding: 17px 22px;
}


.bsj-card-title {

    display: flex;

    align-items: center;

    gap: 12px;
}


.bsj-card-icon {

    width: 38px;
    height: 38px;

    border-radius: 9px;

    background:
        var(--bsj-green);

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size: 16px;
}


.bsj-card-title h5 {

    margin: 0;

    color: #ffffff;

    font-size: 16px;

    font-weight: 600;
}


.bsj-card-title span {

    display: block;

    margin-top: 3px;

    color:
        rgba(255,255,255,0.70);

    font-size: 11px;
}


.bsj-enquiry-card-body {

    padding: 22px;

    background: #ffffff;
}


/* =========================================================
   ENQUIRY TABLE
========================================================= */

.bsj-enquiry-page .enquiry-table {

    width: 100%;

    margin: 0 !important;

    border-collapse:
        separate !important;

    border-spacing: 0;
}


.bsj-enquiry-page .enquiry-table thead th {

    background:
        var(--bsj-green) !important;

    color: #ffffff !important;

    border: none !important;

    padding:
        13px 12px !important;

    font-size: 12px;

    font-weight: 600;

    white-space: nowrap;

    vertical-align: middle;
}


.bsj-enquiry-page .enquiry-table tbody td {

    background: #ffffff;

    color: #46554c;

    border-color:
        #e5ece7 !important;

    padding:
        13px 12px !important;

    font-size: 13px;

    vertical-align: middle !important;
}


.bsj-enquiry-page .enquiry-table tbody tr {

    transition: 0.2s ease;
}


.bsj-enquiry-page .enquiry-table tbody tr:hover td {

    background: #f4faf3;
}


/* =========================================================
   TABLE DATA
========================================================= */

.bsj-sr {

    color:
        var(--bsj-dark) !important;

    font-weight: 700;

    text-align: center;
}


.bsj-name {

    color: #244b30;

    font-weight: 600;

    white-space: nowrap;
}


.bsj-phone {

    color: #53645a;

    white-space: nowrap;
}


.bsj-phone i {

    color:
        var(--bsj-green);

    margin-right: 5px;
}


.bsj-email {
    color: #4e6557;
}


.bsj-subject {

    color: #365241;

    font-weight: 500;
}


.bsj-message {

    min-width: 220px;

    max-width: 350px;

    color: #66736b !important;

    line-height: 1.5;
}


.bsj-date {

    color: #65736a;

    white-space: nowrap;

    font-size: 12px;
}


.bsj-date i {

    color:
        var(--bsj-green);

    margin-right: 5px;
}


/* =========================================================
   ENQUIRY ACTION BUTTONS
========================================================= */

.bsj-actions {

    text-align: center !important;

    white-space: nowrap !important;

    position: relative !important;

    z-index: 50 !important;

    pointer-events: auto !important;
}


.bsj-action-btn {

    width: 35px !important;

    height: 35px !important;

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    position: relative !important;

    z-index: 100 !important;

    border-radius: 7px !important;

    color: #ffffff !important;

    text-decoration: none !important;

    margin: 0 3px !important;

    padding: 0 !important;

    cursor: pointer !important;

    pointer-events: auto !important;

    visibility: visible !important;

    opacity: 1 !important;
}


.bsj-action-btn i {
    pointer-events: none !important;
}


.bsj-edit-btn {

    background:
        var(--bsj-green) !important;
}


.bsj-edit-btn:hover {

    background:
        var(--bsj-green-dark) !important;

    color: #ffffff !important;

    transform: translateY(-1px);
}


.bsj-delete-btn {

    background:
        #dc3545 !important;
}


.bsj-delete-btn:hover {

    background:
        #bd2635 !important;

    color: #ffffff !important;

    transform: translateY(-1px);
}


/* =========================================================
   DATATABLE
========================================================= */

.bsj-enquiry-page #example_wrapper {
    color: #536158;
}


.bsj-enquiry-page #example_wrapper
.dataTables_filter input {

    border:
        1px solid #d7e4da !important;

    border-radius: 7px !important;

    padding: 7px 11px !important;

    margin-left: 6px;

    outline: none;

    color: #35483c;

    background: #ffffff;
}


.bsj-enquiry-page #example_wrapper
.dataTables_filter input:focus {

    border-color:
        var(--bsj-green) !important;

    box-shadow:
        0 0 0 3px
        rgba(114,185,68,0.12) !important;
}


.bsj-enquiry-page #example_wrapper
.dt-buttons .btn {

    border-radius: 6px;

    font-size: 12px;

    border: none;

    margin-right: 4px;
}


.bsj-enquiry-page #example_wrapper
.page-item.active .page-link {

    background:
        var(--bsj-green);

    border-color:
        var(--bsj-green);
}


.bsj-enquiry-page #example_wrapper
.page-link {

    color:
        var(--bsj-dark);
}


/* =========================================================
   UPDATE ENQUIRY FORM
========================================================= */

.bsj-enquiry-card-body .form-group {

    margin-bottom: 22px;
}


.bsj-enquiry-card-body label {

    display: block;

    margin-bottom: 8px;

    font-size: 14px;

    font-weight: 600;

    color:
        var(--bsj-text) !important;
}


.bsj-enquiry-card-body label i {

    color:
        var(--bsj-green) !important;

    margin-right: 6px;
}


.bsj-enquiry-card-body .form-control {

    width: 100%;

    min-height: 46px;

    background:
        #ffffff !important;

    border:
        1px solid #dfe9e1 !important;

    border-radius: 8px !important;

    color:
        var(--bsj-text) !important;

    -webkit-text-fill-color:
        var(--bsj-text) !important;

    padding: 10px 14px;

    box-shadow: none !important;
}


.bsj-enquiry-card-body .form-control:focus {

    background:
        #ffffff !important;

    border-color:
        var(--bsj-green) !important;

    color:
        var(--bsj-text) !important;

    -webkit-text-fill-color:
        var(--bsj-text) !important;

    box-shadow:
        0 0 0 3px
        rgba(114,185,68,0.12) !important;

    outline: none !important;
}


.bsj-enquiry-card-body
.form-control::placeholder {

    color: #8a9b90 !important;
}


.bsj-enquiry-card-body
textarea.form-control {

    min-height: 140px;

    resize: vertical;
}


/* =========================================================
   UPDATE FORM BUTTONS
========================================================= */

.bsj-form-actions {

    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 10px;

    margin-top: 25px;

    padding-top: 20px;

    border-top:
        1px solid var(--bsj-border);

    position: relative;

    z-index: 1000;

    pointer-events: auto;
}


.bsj-cancel-btn,
.bsj-update-btn {

    min-height: 42px;

    padding:
        0 20px !important;

    border-radius: 7px !important;

    display: inline-flex !important;

    align-items: center;

    justify-content: center;

    gap: 7px;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none !important;

    cursor: pointer !important;

    pointer-events: auto !important;

    position: relative;

    z-index: 1001;

    transition: 0.2s ease;
}


.bsj-cancel-btn {

    background:
        #f1f4f2 !important;

    color:
        var(--bsj-text) !important;

    border:
        1px solid #dfe7e1 !important;
}


.bsj-update-btn {

    background:
        var(--bsj-green) !important;

    color:
        #ffffff !important;

    border:
        1px solid var(--bsj-green) !important;
}


.bsj-cancel-btn:hover {

    background:
        #e5ebe7 !important;

    color:
        var(--bsj-text) !important;
}


.bsj-update-btn:hover {

    background:
        var(--bsj-green-dark) !important;

    border-color:
        var(--bsj-green-dark) !important;

    color:
        #ffffff !important;

    transform:
        translateY(-1px);
}


.bsj-update-btn i,
.bsj-cancel-btn i {

    pointer-events: none !important;
}


/* =========================================================
   MOBILE ADMIN
========================================================= */

@media (max-width: 991px) {

    .topbar-nav {

        left: 0;

        width: 100%;
    }


    #sidebar-wrapper {

        left: -240px;
    }


    #content-wrapper {

        margin-left: 0 !important;

        width: 100% !important;

        padding-top: 70px !important;
    }


    .bsj-enquiry-card-body {

        padding: 20px;
    }
}


/* =========================================================
   MOBILE ENQUIRY
========================================================= */

@media (max-width: 767px) {

    .navbar {
        padding: 0 15px;
    }


    .navbar-brand {
        font-size: 15px;
    }


    .admin-profile-text {
        display: none;
    }


    .header-icon {

        width: 36px;
        height: 36px;
    }


    .menu-toggle {

        width: 38px;
        height: 38px;

        margin-right: 8px;
    }


    .content-wrapper {

        padding:
            20px 15px;
    }


    .page-title {
        font-size: 21px;
    }


    .bsj-enquiry-page {

        padding:
            20px 15px;
    }


    .bsj-page-heading {

        display: block;

        margin-top: 45px;
    }


    .bsj-page-title {
        font-size: 21px;
    }


    .bsj-page-subtitle {
        font-size: 12px;
    }


    .bsj-main-add-btn {

        margin-top: 12px;
    }


    .bsj-enquiry-card-body {

        padding: 12px;
    }


    .bsj-enquiry-page .enquiry-table {

        min-width: 1050px;
    }


    .bsj-card-title h5 {

        font-size: 14px;
    }


    .bsj-form-actions {

        flex-direction:
            column-reverse;

        align-items: stretch;
    }


    .bsj-cancel-btn,
    .bsj-update-btn {

        width: 100%;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .bsj-enquiry-page {

        padding:
            15px 10px;
    }


    .bsj-page-title {
        font-size: 19px;
    }


    .bsj-enquiry-card-body {
        padding: 10px;
    }
}
/* ADD ENQUIRY FORM */
.bsj-enquiry-card {
    background: #ffffff !important;
    border: 1px solid #e6eee7 !important;
    border-radius: 14px !important;
    box-shadow: 0 5px 20px rgba(23, 77, 39, 0.08) !important;
}

.bsj-enquiry-card .card-body {
    background: #ffffff !important;
    padding: 25px !important;
    border-radius: 14px !important;
}

.bsj-enquiry-card .form-header {
    background: #72b944 !important;
    color: #ffffff !important;
    padding: 15px 18px !important;
    border-radius: 8px !important;
    margin-bottom: 25px !important;
}

.bsj-enquiry-card .form-control {
    background: #ffffff !important;
    color: #31513a !important;
    border: 1px solid #dce8df !important;
    border-radius: 7px !important;
}

.bsj-enquiry-card .form-control:focus {
    background: #ffffff !important;
    border-color: #72b944 !important;
    box-shadow: 0 0 0 3px rgba(114, 185, 68, 0.12) !important;
}

.bsj-enquiry-card .form-footer {
    margin-top: 20px;
    padding-top: 15px;
}
.bsj-enquiry-card .col-form-label {
    color: #1c3022 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}
/* =========================
   DATATABLE BUTTONS
========================= */

#example_wrapper .dt-buttons .btn {
    background: #72b944 !important;
    color: #ffffff !important;
    border: 1px solid #72b944 !important;
    border-radius: 6px !important;
    margin-right: 5px !important;
    padding: 7px 14px !important;
    font-weight: 600 !important;
}

#example_wrapper .dt-buttons .btn:hover {
    background: #174d27 !important;
    color: #ffffff !important;
    border-color: #174d27 !important;
}

#example_wrapper .dataTables_filter label {
    color: #174d27 !important;
    font-weight: 600 !important;
}

#example_wrapper .dataTables_filter input {
    border: 1px solid #dce8df !important;
    background: #ffffff !important;
    color: #31513a !important;
    border-radius: 6px !important;
    padding: 7px 10px !important;
}
/* =========================
   BLOG TABLE
========================= */

.bsj-enquiry-card table {
    background: #ffffff !important;
    color: #31513a !important;
}

.bsj-enquiry-card table thead th {
    background: #72b944 !important;
    color: #ffffff !important;
    border-color: #72b944 !important;
    font-weight: 600 !important;
    vertical-align: middle !important;
}

.bsj-enquiry-card table tbody td {
    background: #ffffff !important;
    color: #31513a !important;
    border-color: #e1ebe3 !important;
    vertical-align: middle !important;
}

.bsj-enquiry-card table tbody tr:hover td {
    background: #f4faf5 !important;
    color: #174d27 !important;
}

/* DataTables text */
#example_wrapper {
    color: #31513a !important;
}

#example_wrapper .dataTables_info {
    color: #31513a !important;
}

#example_wrapper .dataTables_length label {
    color: #31513a !important;
}

/* Pagination */
#example_wrapper .pagination .page-link {
    color: #174d27 !important;
    background: #ffffff !important;
    border-color: #dce8df !important;
}

#example_wrapper .pagination .page-item.active .page-link {
    background: #72b944 !important;
    color: #ffffff !important;
    border-color: #72b944 !important;
}
.logout-menu {
    margin-top: 20px;
    padding: 0 12px;
}

.logout-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    background: #0e961a;
    transition: all 0.3s ease;
}

.logout-menu a i {
    font-size: 18px;
}

.logout-menu a span {
    font-size: 15px;
    font-weight: 500;
    color:#ffffff;
}

.logout-menu a:hover {
    background: #35e725;
    transform: translateX(4px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.25);
}
/* =========================================================
   DESKTOP SIDEBAR TOGGLE FIX
========================================================= */

@media (min-width: 992px) {

    /* SIDEBAR CLOSED */
    #wrapper.toggled #sidebar-wrapper {
        left: -240px !important;
    }

    /* TOP NAVBAR FULL WIDTH */
    #wrapper.toggled .topbar-nav {
        left: 0 !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    /* CONTENT FULL WIDTH */
    #wrapper.toggled #content-wrapper,
    #wrapper.toggled .content-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
    }

}
/* =========================================================
   DATATABLE - ONLY TABLE HORIZONTAL SCROLL
========================================================= */

/* DataTables wrapper itself should NOT scroll */
#example_wrapper {
    width: 100% !important;
    overflow-x: visible !important;
}

/* Keep buttons + search area fixed */
#example_wrapper .dt-buttons,
#example_wrapper .dataTables_filter,
#example_wrapper .dataTables_length,
#example_wrapper .dataTables_info,
#example_wrapper .dataTables_paginate {
    position: relative;
    z-index: 5;
}

/* Table area only */
#example_wrapper .table-responsive {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    width: 100% !important;
}

/* Actual table */
#example_wrapper .table-responsive table {
    min-width: 1000px;
}

/* Smooth horizontal scrolling */
#example_wrapper .table-responsive {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
