/* Works on Chrome, Edge, and Safari */
/* Taken from https://github.com/tahir-zaqout/sundae_theme/tree/master/sundae_theme/public/css */
/* @import url('https://fonts.cdnfonts.com/css/poltawski-nowy');
@import url('https://fonts.cdnfonts.com/css/manrope');
@import url('https://fonts.cdnfonts.com/css/poppins');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"); */

/* Updated the font paths with the local downloaded files */
@import url('/assets/dev_jute_smart/css/fonts_styles/poltawski.css');
@import url('/assets/dev_jute_smart/css/fonts_styles/manrope.css');
@import url('/assets/dev_jute_smart/css/fonts_styles/poppins.css');
@import url("/assets/dev_jute_smart/css/fonts_styles/font-awesome.min.css");

html,
body {
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    font-size: 14px !important;
}

@media (min-width: 1200px) {

    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 100% !important;

    }
}

:root {
    --main-color: #054A49;
    --second-color: #377340;
    --third-color: #48a572;
    --widget-bg: #FDFFFC;

    --primary: var(--main-color);
    --dt-primary-color: var(--main-color);
    --blue-avatar-bg: var(--main-color);
    --blue-avatar-color: var(--main-color);
    --blue: var(--main-color)
}

/* making the drop down in setup text white */
body[data-route^="setup-wizard"].awesomplete>[role=listbox]>[role=option]>a>p>strong:hover {
    color: white !important;
}


.page-container,
.layout-main-section {
    background-color: var(--widget-bg);
}

/* Main */
/* changing the bg color white to look good in setup wizard */
body {
    background-color: #fff;
}

h1 {
    font-size: 28px !important;
    font-weight: 600 !important;
}

[data-theme=light]a {
    color: #fff;
    font-weight: 500;
}

.small,
small {
    font-size: 95%;
}

.h6,
h6 {
    font-weight: 600;
    font-size: 12px;
    line-height: 110%;
}

/* Navigation Bar */
/* .standard-sidebar-item.selected {
    background: linear-gradient(to right, var(--main-color), var(--second-color));
} */
/* making the backing none adding color to text only */


.standard-sidebar-item.selected a {
    color: linear-gradient(to right, var(--main-color), var(--second-color));
    background: rgba(233, 249, 236, 1);
    height: 100%;
}

.navbar-home {
    img {
        max-height: 50px !important;
        width: auto;
    }
}

.sidebar-item-label .p-2 {
    padding: 0px 10px !important;
}

/* 
.standard-sidebar-item.selected a svg {
    fill: #fff;
    stroke: #fff !important;
} */

.notifications-icon svg {
    fill: #fff
}


.navbar {
    /* background: linear-gradient(to right, var(--second-color), var(--main-color)) !important; */
    border: none !important;
    background: #3A6C31;
}

.navbar-nav>li>a:hover {
    color: #ddd !important;
}

.navbar-brand:hover {
    color: #ddd !important;
}

/* Widgets */
.widget {
    background-color: var(--widget-bg);
    border: none;
    box-shadow: 0px 3px 12px 0px var(--widget-bg), 0 3px 3px -2px #461a7714;
}

.widget.shortcut-widget-box .widget-head .widget-title i {
    color: var(--third-color);
}

.widget.shortcut-widget-box .widget-head .widget-title:hover span {
    color: var(--main-color);
}

/* Sidebar */
.desk-sidebar .desk-sidebar-item {
    font-size: 8px;
    font-weight: 500;
    /* color: var(--widget-bg); */
    color: #1F1F1F !important;
    background: transparent !important;
    padding-bottom: 0 !important;
    height: 100%;
}


/* code to set the navbar link color */
.desk-sidebar .desk-sidebar-item.selected {
    color: var(--main-color) !important;
    font-weight: 600;
    padding-bottom: 0;
    background: transparent;
    border-radius: 0px;
    /* border-bottom: 0.2rem solid var(--main-color); */
    margin: 0px !important;
}

.desk-sidebar .desk-sidebar-item.selected .drop-icon svg {
    /* stroke: #fff !important; */
    /* fill: #fff !important; */
    color: linear-gradient(to right, var(--second-color), var(--main-color)) !important;
}

.layout-side-section {
    font-size: 14px;
}

.uppercase {
    color: var(--third-color);
}

/* Dropdowns */
.dropdown-menu>li>a {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.awesomplete>ul>li[aria-selected=true] {
    background-color: transparent;
}

.awesomplete>ul>li:hover {
    /* background: linear-gradient(to right, var(--main-color), var(--second-color)); */
    background: #3A6C31 !important;
}

/* adding this to look in setup wizard and other pages dropdown and search bar too green hover white text */
.awesomplete>ul>li[aria-selected=true] {
    /* background: linear-gradient(to right, var(--main-color), var(--second-color)); */
    background: #3A6C31 !important;
}

.awesomplete>ul>li[aria-selected=true]>a>p>strong {
    color: #fff;
}

.awesomplete>ul>li[aria-selected=true]>a {
    color: #fff;
}

.awesomplete>ul>li:hover a {
    color: #fff;
}

.awesomplete>ul>li:hover a>p>strong {
    color: #fff;
}

/* Page Heading */
.page-head {
    border-bottom: none !important;
    box-shadow: 0 1px 10px 1px rgba(115, 108, 203, 0.1);
}

.page-title .title-text {
    color: var(--third-color);
    font-size: 22px;
}

.widget .widget-head .widget-title,
.section-head,
.comment-input-header {
    font-size: 14px;
    color: var(--third-color);
}

/*Main Section */
.list-row-head {
    background-color: #E9F9EC;
    border-bottom: 1px solid #E9F9EC !important;
    height: 45px !important;
    margin: 0;
    border-radius: 0;
}


.list-row {
    height: 45px !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(to right, #5A8447, #054A49) !important;
    color: #fff !important;
    border: none;
    border-radius: 16px !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 36px !important;
}

.btn.btn-default {
    background: transparent !important;
    color: #0A4E48 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 16px !important;
    border: 1px solid #3A6C31 !important;
    padding: 6px 12px !important;
    height: 36px !important;
    line-height: 22px;
}

.btn.filter-button {
    background: #3A6C31 !important;
    color: #fff !important;
    border-radius: 16px !important;
}

.btn.filter-button .filter-icon {
    --icon-stroke: #fff !important;
}

.btn.btn-default.filter-button .filter-icon svg {
    stroke: #fff !important;
}

.btn-primary svg,
.btn.btn-default svg {
    fill: #fff !important;
}

.btn.btn-login {
    background: linear-gradient(to right, #377340, #054a49) !important;
    color: #fff !important;
    border: none;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.control-label,
.grid-heading-row {
    font-size: 14px;
}

.btn-default:hover,
.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active,
.open>.dropdown-toggle.btn-default {
    background-color: var(--dark-green-avatar-bg) !important;
    color: #000 !important;
}


.btn-default:hover svg {
    stroke: #000 !important;
    fill: #000 !important;
    color: #000 !important;
}

.btn.btn-default.filter-button:hover .filter-icon svg {
    stroke: #000 !important;
}


.btn-secondary,
.btn-secondary:focus,
.btn-secondary.focus,
.btn-secondary:active,
.btn-secondary.active,
.open>.dropdown-toggle.btn-secondary {
    background: #fff !important;
    color: #0A4E48 !important;
    border: 1px solid #0A4E48 !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.btn-secondary,
.btn-secondary:focus,
.btn-secondary.focus,
.btn-secondary:active,
.btn-secondary.active,
.open>.dropdown-toggle.btn-secondary {
    background: #fff !important;
    color: #0A4E48 !important;
    border: 1px solid #0A4E48 !important;
    border-radius: 16px !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.btn-secondary:hover {
    background-color: var(--main-color);
    color: #fff;
}

.for-login .page-card .page-card-body .btn-login-option,
.for-forgot .page-card .page-card-body .btn-login-option,
.for-login-with-email-link .page-card .page-card-body .btn-login-option,
.for-signup .page-card .page-card-body .btn-login-option,
.for-email-login .page-card .page-card-body .btn-login-option {
    background: #fff !important;
    color: #0A4E48 !important;
    border: 1px solid #0A4E48 !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.btn-secondary:hover {
    background-color: var(--main-color);
    color: #fff;
}

.indicator-right.blue:after,
.indicator.blue:before {
    background: var(--third-color);
}

/*Other Components*/
input[type=checkbox]:checked:before {
    color: var(--third-color);
}

input[type=checkbox]:checked {
    background: var(--main-color);
}

.frappe-control .ql-editor:not(.read-mode) {
    background: var(--widget-bg);
}

.form-page input.input-with-feedback,
.form-page select.input-with-feedback {
    background: #fff !important;
    border: 1px solid #CCCCCC !important;
    padding: 8px 16px;
    border-radius: 8px;
    height: 40px !important;
    display: flex;
    align-items: center;
    color: #0A4E48 !important;
}

.form-page textarea.input-with-feedback {
    resize: vertical !important;
    background: #fff !important;
    border: 1px solid #CCCCCC !important;
    padding: 8px 16px;
    border-radius: 8px;
    color: #0A4E48 !important;
}

.form-page .like-disabled-input {
    border: 1px solid #CCCCCC !important;
    padding: 8px 16px;
    border-radius: 8px;
    height: 40px !important;
    display: flex;
    align-items: center;
    color: #0A4E48 !important;
}

.form-page input[type="checkbox"] {
    /* padding: 0 !important;
    height: 20px !important;
    width: 20px !important; */
}

.form-page .checkbox {
    /* height: 40px; */
    align-items: center;
    /* display: flex; */
}

.sidebar-container .control.frappe-control.checkbox {
    height: auto;
    display: block;
}

.page-form .standard-filter-section .form-group .placeholder {
    top: 10px !important;
}

.form-group .select-icon {
    top: 10px !important;
}

.control-input .toggle-password {
    top: 5px !important;
}

.btn-attach {
    height: 40px;
    padding: 8px 16px !important;
    border-radius: 8px !important;
}


input.like-disabled-input [type="checkbox"] {
    height: 13px !important;
}

.document-link-badge span {
    background-color: var(--main-color) !important;
    color: #fff;
}

.document-link-badge {
    background-color: var(--widget-bg) !important;
}

.document-link button {
    background: var(--third-color) !important;
    color: #fff !important;
}

.form-documents .document-link button {
    background: #fff !important;
}

.document-link button svg {
    fill: white;
    stroke: white;
}

.indicator-pill.gray,
.indicator-pill-right.gray,
.indicator-pill-round.gray {
    background: var(--third-color);
    color: #fff;
}

.indicator-pill.green,
.indicator-pill-right.green,
.indicator-pill-round.green {
    color: var(--main-color);
}

.notifications-icon svg {
    stroke: #fff;
    fill: #fff;
}

#page-Workspaces .page-head {
    background: var(--widget-bg);
}


/* -- new --*/
.layout-main {
    height: auto !important;
}

.desk-sidebar-item .desk-sidebar-item {
    border-radius: 0 !important;
}

.standard-sidebar-section .sidebar-item-container .sidebar-item-container {
    border-bottom: 1px solid #EAECF0 !important;
}


.navbar {
    height: auto;
}

.navbar-brand.navbar-home {
    align-items: center;
}

.logo-text {
    color: #fff;
    margin-left: 10px;
    font-size: 28px;
    font-weight: 500;
    font-family: 'Poltawski Nowy', sans-serif !important;
}

body[data-route^="Workspaces/"] .layout-side-section {
    /* overflow-x: auto !important;
    overflow-y:auto !important; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 
            0 4px 8px rgba(0, 0, 0, 0.08); */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);  */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    margin-bottom: 20px;
    border-bottom: 1px solid #D9D9D9;
}

.navbar .nav-item {
    margin-left: 1rem !important;
}

.avatar-medium {
    width: 35px;
    height: 35px;
}

.standard-sidebar-section.nested-container {
    /* scrollbar-width: none; */
    gap: 5px;
}

.widget-body .link-item:hover span {
    color: #999 !important;
}

body:has(#page-login) .navbar.navbar-light {
    display: none !important;
}

/* this one fits perfect height for the login page */
body #page-login .page-content-wrapper {
    min-height: calc(100vh - 15px);
}

body:has(.signupPage) .navbar.navbar-light {
    display: none !important;
}

body:has(.signupPage) .web-footer {
    display: none !important;
}

.web-footer {
    margin: 0 !important;
    padding: 0 !important;
    min-height: auto !important;
}

.page-card-head img {
    max-height: 80px !important;
    height: 80px !important;
}

/* .login-with-email-link {
        display: none !important;
    } */

.login-divider {
    display: none !important;
}

#navbar-breadcrumbs a {
    color: #fff !important;
}

#page-login {
    background-image: url("../img/bgImg.jpg");
    background-size: cover;
}

#page-login::before,
.signupPage::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

.login-content.page-card,
.signupPage input.form-control {
    background-color: rgba(255, 255, 255, 0.8) !important;
}

.login-content.page-card input.form-control,
.signupPage .page-card input.form-control {
    background-color: #fff !important;
    background: #fff !important;
    height: 40px;
    padding-right: 50px;
}

.login-content.page-card .field-icon,
.signupPage .page-card .field-icon {
    top: 12px !important;
}

.login-content.page-card .toggle-password,
.signupPage .page-card .toggle-password {
    top: 12px !important;
}

.login-content.page-card,
.signupPage .page-card {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.signupPage .page-card {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.signupPage {
    background-image: url("../img/bgImg.jpg");
    background-size: cover;
    height: 100vh;
    box-sizing: border-box;
}

.for-login .page-card form,
.for-forgot .page-card form,
.for-login-with-email-link .page-card form,
.for-email-login .page-card form {
    max-width: 400px !important;
    font-family: 'Manrope', sans-serif !important;
    margin: 0 auto !important;
}

.signupPage .page-card form {
    max-width: 430px !important;
    font-family: 'Manrope', sans-serif !important;
    margin: 0 auto !important;
}

.for-login .page-card,
.for-forgot .page-card,
.for-login-with-email-link .page-card,
.for-signup .page-card,
.for-email-login .page-card,
.signupPage .page-card {
    max-width: 500px !important;
    padding: 25px 10px !important;
}

/* code for fixing navbar jutesmart logo and page head in navbar*/
.navbar-brand img {
    content: url('/assets/dev_jute_smart/img/jutesmart.png');
    height: 40px;
}

.form-forgot label.form-control {
    display: none !important;
}

.search-bar .awesomplete input {
    padding-left: 38px !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 24px;
    color: #fff;
}

.search-bar {
    max-width: 350px !important;
}

.search-bar .awesomplete input::placeholder {
    color: #fff;
}

.for-signup .sign-up-message {
    margin-top: 1rem;
    margin-bottom: 0;
    color: var(--text-light);
    font-size: var(--text-base);
    font-weight: var(--weight-regular);
    letter-spacing: .02em;
}

.btn-group,
.btn-group-vertical {
    gap: 10px !important;
    border: none !important;
}

.page-head .standard-actions.flex {
    align-items: center;
}

select {
    border: none !important;
}

select option,
select option {
    /* background-color: #E9F9EC !important; */
    color: #0A4E48 !important;
    border: 1px solid #ccc !important;
}

/* comment this code cause this is making the drop values transparent */
/* select:hover option {
    background-color: #E9F9EC !important;
    color: #ffffff !important;
} */

.page-form .filter-section {
    align-items: center !important;
}

.btn-default.list-sidebar-button:hover svg {
    stroke: var(--icon-stroke) !important;
}

.widget.dashboard-widget-box .chart-actions .chart-menu {
    border: none !important;
}

.navbar .navbar-nav .dropdown-item {
    padding: 14px 8px !important;
    border-bottom: 1px solid #eee;
    border-radius: none;
}

.navbar-expand .navbar-nav .dropdown-menu {
    position: absolute;
    padding: 0;
}

.navbar-expand .navbar-nav .dropdown-menu .dropdown-divider {
    display: none;
}


#navbar-breadcrumbs {
    margin-left: 35px;
}

[data-page-route=Workspaces] .standard-sidebar-item .item-anchor {
    padding: 12px 22px !important;
    font-size: 15px !important;
}


/* .frappe-control[data-fieldtype=Select] .control-input .select-icon, .frappe-control[data-fieldtype=Select].form-group .select-icon{
    top: 8px !important;
} */

.form-links .document-link .document-link-badge .count,
.form-links .document-link .report-link-badge .count {
    color: #fff !important;
}

.filter-area .filter-action-buttons>div {
    display: flex;
    gap: 5px;
}

.modal .standard-actions {
    display: flex;
    gap: 5px;
}

.navbar-collapse .nav-item.dropdown.dropdown-notifications {
    display: none !important;
}

.layout-side-section {
    display: none;
    margin-top: 10px !important;
    /* padding-top: 10px !important;  */
}


/* added this line to show navbar only in home workspace pages */
body[data-route^="Workspaces/"] .layout-main .layout-side-section {
    display: block;
    margin-top: 0px !important;
    /* scrollbar-width: none !important; */
    padding: 0 !important;
    --scrollbar-thumb-color: transparent;
    scrollbar-color: rgba(211, 209, 209, 0.5) transparent !important;
    border-bottom: 0.2rem solid var(--main-color);
}

/* Or show on container hover */
/* .container:hover::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
} */


body:has(#page-login) .layout-side-section {
    display: block !important;
}

/* commented this code written other css for webform */
/* body:has(#page-List\/Web\ Form\/List) .layout-side-section {
    display: block !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
} */

/* .web-form-container div:empty {
    display: none !important;
} */

body:has(#page-login) .page-head {
    display: block;
}


/* code to hide the page head in the workspace */
body[data-route^="Workspaces/"] .page-head {
    display: none;
}

/* show side bar for only the print-format route */
body[data-route^="print-format-builder"] .layout-side-section {
    display: block !important;
    /* max-width: 100% !important; */
    /* padding-left: 0 !important;
    padding-right: 0 !important; */
}

/* only display the side bar in the webform */
body[data-route^="Form/Web Form"] .layout-side-section {
    display: block !important;
    /* max-width: 100% !important; */
    /* padding-left: 0 !important;
    padding-right: 0 !important; */
}

/* only print format has the side-bar visible */
body[data-route^="print-format-builder"] #main-content {
    width: 16.666667% !important;
    flex: 0 0 auto !important;
}


/* Updated the splash and login logo svg */
.splash img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.splash img {
    content: url(/assets/dev_jute_smart/img/jutesmartlogo.svg);
}

.app-logo {
    max-height: 4rem;
    content: url(/assets/dev_jute_smart/images/Jutesmart.png);
}

input[type="checkbox"] {
    box-shadow: none !important;
    height: 20px !important;
    width: 20px !important;
}

.form-page input[type="checkbox"] {
    height: 20px !important;
    width: 20px !important;
    padding: 0 !important;
}

input[type="checkbox"]:checked {
    background-color: linear-gradient(to right, var(--second-color), var(--main-color)) !important;
    background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D'0%200%208%207'%20fill%3D'none'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M1%204.00001L2.66667%205.80001L7%201.20001'%20stroke%3D'white'%20stroke-width%3D'1.5'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'/%3E%3C/svg%3E"), var(--checkbox-gradient) !important;
    background-size: 64%, 100% !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    box-shadow: none !important;
    border: none !important;
    height: 15px !important;
    width: 15px !important;
    padding: 0 !important;
}

#registration-for-jute-mill-tab_break_s0t2 .card-section {
    background: #E9F9EC !important;
}


.fa,
.far,
.fas {
    font-family: "Font Awesome 5 Free" !important;
}

/* .ce-block .ce-block__content .widget {
    border: 1px solid var(--border-color);
    border-radius: 10px;
} */

.ace_editor {
    font: 12px / normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Source Code Pro', 'source-code-pro', monospace !important;
}

/* 
.ace_line {
    padding-left: 0px !important;
    margin-left: 0px !important;
    text-indent: 0px !important;
  }
  
  .ace_line span {
    margin-left: 0px !important;
  } */

.page-body {
    min-height: calc(100vh - 120px) !important;
    max-width: 100% !important;
}

.widget.links-widget-box {
    border: 1px solid #eee;
    box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.25);
}

/* code to remove the file upload buttons in modal  */
.btn-file-upload:nth-of-type(2) {
    display: none !important;
}

.btn-file-upload:nth-of-type(3) {
    display: none !important;
}

.list-row .avatar-small,
.list-row .comment-count,
.list-row .like-icon {
    display: none !important;
}


/* comment this code its causing issue to send heart to the left side */
/* Span Tag */
/* .list-row-container .level .level-right .level-item > span{
 border-top-left-radius:0px;
 position:relative;
 top:-3px;
 left:52px;
 bottom:-16px;
 right:-12px;
} */

/* Line */
/* .result > .level .es-line{
 position:fixed;
 left:-11px;
} */
/* hiding the heart icon */
.like-icon {
    display: none !important;
}

/* css for the tabs section in any records sticky override with height of  */

.form-tabs-sticky-down {
    top: calc(var(--navbar-height) + var(--page-head-height) - 1px) !important;
}

.form-tabs-sticky-up {
    top: calc(var(--navbar-height) - 1px) !important;
}

body::-webkit-scrollbar {
    width: 0.4rem !important;
    height: 40px !important;
    color: #000000 !important;

}

::-webkit-scrollbar-thumb {
    background-color: rgb(211, 209, 209) !important;
    border-radius: 10px !important;
    height: 40px !important;

}

* {
    scrollbar-width: thin !important;
    scrollbar-color: #ccc #f1f1f1 !important;
}

.layout-side-section::-webkit-scrollbar {
    width: 4px !important;
    height: 4px !important;
}

@supports (scrollbar-width: auto) {
    * {
        scrollbar-width: auto !important;
        /* makes it thicker than thin */
        scrollbar-color: #a8a8a8 #f0f0f0 !important;
    }

    body[data-route^="Workspaces/"] .layout-main .layout-side-section {
        scrollbar-width: none !important;
        /* makes it thicker than thin */
        scrollbar-color: #a8a8a8 #f0f0f0 !important;
    }
}

@supports selector(::-webkit-scrollbar) {
    body[data-route^="Workspaces/"] .layout-main .layout-side-section {
        scrollbar-width: none !important;
        /* makes it thicker than thin */
        scrollbar-color: #eee #fff !important;
    }

    * {
        scrollbar-width: thin !important;
        /* makes it thicker than thin */
        scrollbar-color: #dcdbdb #fff !important;
    }
}


/* adding this css for the setup wizard  page */
body[data-route^="setup-wizard/0"]>.main-section {
    display: flex !important;
    align-content: center !important;
    justify-content: center !important;
}

body[data-route^="setup-wizard/1"]>.main-section {
    display: flex !important;
    align-content: center !important;
    justify-content: center !important;
}

/* below code is not working for the setup page wrong buttons bug try this later */
/* body[data-page-route^="setup-wizard"]>slides-wrapper>slide-footer> .row > .prev-div,
body[data-page-route^="setup-wizard"]>slides-wrapper>slide-footer> .row > .next-div {
    display: flex !important;
    width: auto !important;  
    max-width: none !important;
    justify-content: space-between;
} */

/* home worspace for dashboard update overflow hidden / optimised page loading time */
body[data-route="Workspaces/Home"] .col.layout-main-section-wrapper {
    overflow-x: hidden !important;
}

/* fix filter dropdown hover n aria-selected */
.awesomplete>ul>li[aria-selected=true]>p {
    color: #fff !important;
}

.awesomplete>ul>li:hover p {
    color: #fff !important;
}

.website_upload a {
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 20ch;
    overflow: hidden;
}

/* fix overflow in pcso multipart table field */
body[data-route^="Form/PCSO Allocation Tool"] .frappe-control .control-value {
    overflow: auto !important;
}

.captcha-container {
    width: 100%;
    /* take full width of parent */
    display: flex;
    /* center it if needed */
    justify-content: center;
    align-items: center;
}

.cf-turnstile {
    transform: scale(1);
    /* increase size if you want */
    transform-origin: center;

}

[data-page-route=Workspaces] .layout-main .layout-main-section {
    border: 0;
    padding: 0;
    margin-bottom: var(--margin-sm);
}

.search-bar svg {
    stroke: #fff !important;
}

.restricted-button {
    display: none !important;
}


.page-main-content .ce-block__content .links-widget-box {
    padding: 0 !important;
}

.page-main-content .ce-block__content .widget-head {
    padding: 15px;
    background: #E9F9EC;
}

.page-main-content .ce-block__content .widget-body {
    padding: 0 15px 15px 15px;
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.page-main-content .ce-block__content .widget-body a.link-item {
    padding: 6px 10px;
    border-radius: 16px;
    width: auto;
    border: 1px solid #E4E4E4 !important;
    margin: 0;
}

.page-main-content .ce-block__content .widget-body a.link-item:hover {
    background: #E9F9EC;
}

.page-main-content .ce-block__content .widget-body a.link-item span {
    color: #1F1F1F !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-main-content .ce-block__content .widget-body {
    margin-top: 10px;
}


[data-page-route=Workspaces] .codex-editor .codex-editor__redactor .ce-block .ce-block__content {
    padding: 8px !important;
}

.layout-main-section.frappe-card .page-form {
    background: #F5F5F5;
    border-radius: 0 !important;
}

.layout-main-section.frappe-card .frappe-list {
    padding: 0 !important;
}

.frappe-card .list-paging-area {
    background: #F5F5F5;
}

.frappe-card .list-paging-area .btn-group button {
    background: transparent !important;
    border: 1px solid #3A6C31;
    color: #3A6C31 !important;
}

.list-row:hover:not(.list-row-head),
.list-row-head:hover:not(.list-row-head),
.list-row-container:focus {
    background: transparent !important;
}

.grid-heading-row {
    background: #E9F9EC !important;
    color: #000 !important;
    height: auto !important;
}

.grid-heading-row .data-row {
    padding: 8px 12px !important;
}

.grid-body .rows {
    padding: 8px 12px !important;
}

.indicator-pill.gray[data-filter="status,=,null"] {
    background: transparent !important;
}

.widget-label:has(> div:empty) {
    background: transparent !important;
}

.page-form .checkbox {
    margin-top: 10px;
}

@media (max-width: 991px) {
    .layout-side-section .overlay-sidebar {
        position: relative !important;
        padding: 0 !important;
    }
}

@media (max-width: 600px) {
    .search-bar {
        max-width: 97px !important;
    }

    .logo-text {
        font-size: 24px !important;
    }

    .navbar-brand img {
        height: 39px !important;
    }

    .navbar .nav-item {
        margin-left: 8px !important;
    }
}


.frappe-control .action-btn,
.frappe-control .link-btn {
    position: absolute;
    top: 0.5px !important;
    right: 0.5px !important;
    padding: 8.8px !important;
    z-index: 3;
    border-radius: 0 8px 8px 0;
    background: transparent !important;
}

.frappe-list .list-row-container:nth-child(even) {
    background: rgba(247, 247, 247, 0.5);
    /* alternate row */
}

.standard-filter-section input {
    color: #000 !important;
    background: #fff !important;
    height: 36px;
    border: 1px solid #CCCCCC !important;
}

.standard-filter-section select {
    border: 1px solid #CCCCCC !important;
}

.widget-head:has(.widget-title:empty):has(.widget-subtitle:empty):has(.widget-control:empty) {
    background: transparent !important;
}

.control-value.like-disabled-input.for-description {
    height: auto !important;
}

.standard-filter-section select {
    background: #fff;
    height: 38px;
}

.standard-filter-section .frappe-control[data-fieldtype=Select] .placeholder.xs,
.standard-filter-section .frappe-control[data-fieldtype=Select] .select-icon {
    /* top: 3px !important; */
}

body[data-route^="query-report/"] input,
body[data-route^="query-report/"] select {
    background: #fff !important;
    border: 1px solid #CCCCCC !important;
    height: 36px;
}

body[data-route^="query-report/"] .frappe-control[data-fieldtype=Select].form-group .select-icon.xs {
    top: 8px !important;
}

body[data-route^="query-report/"] .frappe-control[data-fieldtype=Select].form-group .placeholder {
    top: 8px !important;
}

body[data-route^="query-report/"] .datatable .dt-header .dt-row-header,
body[data-route^="query-report/"] .datatable .dt-header .dt-cell--header .dt-cell__content {
    background: var(--dark-green-avatar-bg) !important;
    color: #000000 !important;
}

body[data-route^="query-report/"] .report-wrapper .datatable .dt-header .dt-cell {
    color: #000000 !important;
}

body[data-route^="query-report/"] .dt-cell--header {
    background: var(--dark-green-avatar-bg) !important;
}

body[data-route^="query-report/"] .datatable .dt-row:nth-child(even) .dt-cell {
    background: #F7F7F7;
    /* alternate row */
    /* background: rgba(218, 240, 225, 0.2); */
    /* light green  */
    /* background: rgba(254, 251, 234, 0.3); */
    /* cream  */
}

body[data-route^="query-report/"] .page-form .btn {
    width: auto !important;
    /* padding: 4px 8px !important; */
}

body[data-route^="query-report/"] .frappe-control[data-fieldtype="Button"] .tooltip-content {
    display: none !important;
}


/* -- custom checkbox -- */
/* input[type="checkbox"] {
  appearance: none !important;
  width: 28px !important;
  height: 20px !important;
  background: #ccc !important;
  border-radius: 26px !important;
  position: relative;
  cursor: pointer;
  transition: background 0.4s;
  padding: 0 !important;
}

.form-page input[type="checkbox"] {
    appearance: none !important;
  width: 28px !important;
  height: 20px !important;
  background: #ccc !important;
  border-radius: 26px !important;
  position: relative;
  cursor: pointer;
  transition: background 0.4s;   
} 
  
input[type="checkbox"]::before {
  content: "";
  position: absolute;
  width: 14px !important;
  height: 14px !important;
  left: 2px;
  top: 2.75px;
  background: #fff !important;
  border-radius: 50%;
  transition: transform 0.3s;
} 

input[type="checkbox"]:checked {
  background: #4caf50 !important;
}

input[type="checkbox"]:checked::before {
  transform: translateX(11px) !important;
}

input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.5; 
}

input[type="checkbox"]:disabled:checked {
  background: #a5d6a7 !important; 
}

input[type="checkbox"]:disabled:checked::before {
  transform: translateX(11px) !important;
  background: #f1f1f1 !important; 
}

input[type="checkbox"].disabled-selected::before {
  transform: translateX(11px) !important;
} */


/* .standard-filter-section .tooltip-content{
    text-transform: capitalize !important;
    opacity: 1 !important;
    color: #1F1F1F;
    background: transparent !important;
    margin-bottom: 2px !important;
    font-size: 13px !important;
} */

.page-form .standard-filter-section .form-group {
    margin: 10px 0 !important;
}


/* body[data-route^="query-report/"] .page-form .tooltip-content{
    text-transform: capitalize !important;
    opacity: 1 !important;
    color: #1F1F1F;
    background: transparent !important;
    margin-bottom: 2px !important;
    font-size: 13px !important;
} */

/* body[data-route^="query-report/"] .page-form .form-group{
    margin: 28px 0 20px 0 !important;
}    */

.navbar-scroll-wrapper.hidden {
    display: none !important;
}

.layout-side-section {
    overflow-x: hidden !important;
    /* hide scrollbar */
    white-space: nowrap;
    scroll-behavior: smooth;
}

/* arrow buttons */
.scroll-btn {
    position: absolute;
    top: 62px;
    /* transform: translateY(-50%); */
    width: 34px;
    height: 34px;
    background: #E9F9EC;
    border-radius: 50%;
    text-align: center;
    line-height: 34px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    z-index: 20;
    color: #3A6C31;
    border: 2px solid #3A6C31 !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.scroll-btn.left {
    left: 5px;
}

.scroll-btn.right {
    right: 5px;
}

.scroll-btn:hover {
    background: #E9F9EC;
    /* lighter theme color on hover */
    color: #3A6C31;
    /* change arrow color on hover */
}

.scroll-btn {
    display: none !important;
}

/* Show only if body data-route contains "Workspaces" */
body[data-route*="Workspaces"] .scroll-btn {
    display: block !important;
}

.standard-sidebar-section .sidebar-item-container:first-of-type {
    padding-left: 45px;
}

.standard-sidebar-section .sidebar-item-container:last-of-type {
    padding-right: 45px;
}

/* Shadow behind button */
.scroll-btn::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -13px;
    width: 50px;
    height: 55px;
    background: #fff;
    /* box-shadow: 0 0 15px rgba(0,0,0,0.15);  */
    z-index: -1;
    /* places shadow behind button */
}


/* 
.row.form-section.card-section.visible-section .section-body {
  max-height: 1000px; 
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 15px;
}

.row.form-section.card-section.visible-section.collapsed .section-body {
  max-height: 0;
  padding: 0 15px; 
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}


.section-head::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  transform: rotate(45deg);
  transition: transform 0.3s;
  margin-left: 10px;
}

.row.form-section.card-section.visible-section.collapsed .section-head::after {
  transform: rotate(-135deg); 
} */


.datatable .dt-header .dt-row[data-is-filter] {
    display: none !important;
}

.section-head.collapsible {
    display: flex;
    background: #E9F9EC;
    justify-content: space-between;
}

.section-head {
    background: #E9F9EC;
    padding: 8px 12px !important;
}

.grid-body .col:has(.btn-open-row) {
    max-width: 80px !important;
}


.grid-row .data-row.filter-row {
    display: none !important;
}

.table-multiselect {
    background-color: transparent;
    padding: 0;
}

/* to hide the settings in the navbar */
#toolbar-help {
    display: none !important;
}

.form-grid-container .grid-move-row {
    display: none !important;
}

.web-form-body .grid-heading-row .data-row {
    padding: 0 !important;
}


@media (max-width:1200px) {
    .dashboard-page .card {
        min-width: 50% !important;
        width: 50% !important;
    }
}


@media (max-width: 767px) {
    .web-form-body .custom-stepper {
        display: none !important;
    }

    #page-mill-registration-form .page_content,
    #page-trader-details .page_content,
    #page-importer-registration-form .page_content {
        padding: 0 10px !important;
        max-width: 100% !important;
    }

    [data-doctype="Web Form"] .page-content-wrapper .container .page_content .web-form {
        padding: 15px !important;
    }

    [data-doctype="Web Form"] .page-content-wrapper .container .page_content .web-form-header {
        padding: 15px 15px 0 15px !important;
    }

    .dashboard-page .card {
        min-width: 100% !important;
        width: 100% !important;
    }
}

@media (max-width:991px) {
    #page-Workspaces .scroll-btn {
        top: 4px;
        transform: translateY(6px);
    }
    #page-Workspaces .scroll-btn::before{
        top: -12px !important;
    }
    .layout-side-section{
        z-index: 1;
    }
    .layout-side-section .overlay-sidebar{
        transform: translateX(0) !important;
        width: 100%;
    }
}

.web-form-body .attached-file-link .static-area.ellipsis{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 32ch;
    display: inline-block;
}

.form-grid-container .select-all-pcso{
    left: 0 !important;
}

a[href*="print_designer"] {
  display: none !important;
}