/* css for login page */
.logo .login-container {
    height: 100vh;
    background-image: url("../img/main-bg.png");
    background-repeat: no-repeat;
    background-position: center;
}

.gov-logo {
    max-width: 560px;
}

.login-panel {
    background-image: url("../img/login-bg.png");
    background-size: contain;
    background-repeat: no-repeat;
    text-align: center;
    width: 619px;
    height: 492px;
    padding: 0 120px;
}

.login-panel .cabinet-logo {
    max-width: 225px;
}

.login-panel .map-img {
    max-width: 260px;
}

.login-panel label {
    text-align: unset;
    color: #fff;
    margin-bottom: 2px;
}

.login-panel input {
    background: unset;
    padding-left: 5px;
    border: 0;
    border-radius: 12px;
    border-bottom: 1px solid #636c74;
}

.login-panel input:focus {
    color: #fff;
    background-color: unset;
}

.login-panel .form-check-input:checked {
    background-color: unset;
}

@media only screen and (min-width: 600px) and (max-width: 1499px) {
    .login-container {
        position: relative;
        top: -25px;
        align-items: center;
    }

    .login-panel {
        width: 550px !important;
        height: 450px;
        padding: 0 110px;
        align-items: center;
    }

    .gov-logo {
        max-width: 520px;
    }

    .login-panel .cabinet-logo {
        max-width: 200px;
    }

    .login-panel .map-img {
        max-width: 200px;
    }

    .login-panel label {
        text-align: unset;
        color: #fff;
        margin-bottom: 2px;
    }
}

/* css for sidebar */
/* .sidebar .nav-dropdown:hover>.nav-dropdown-items {
  max-height: 1500px;
} */

/* .sidebar .nav-dropdown:hover>.nav-dropdown-toggle:before {
  transform: rotate(-90deg);
} */

/* css for setting-tab */

.sidebar {
    background-color: #283450 !important;
}

.sidebar.sidebar-pills .nav-link {
  color: white !important;
  font-size: 13px;
}

.sidebar.sidebar-pills .nav-link {
  padding: 0.3rem 0.25rem 0.3rem 0.25rem;
}

.setting-tab {
    position: fixed;
    padding: 5px 0;
    top: 73px;
    right: 0;
    width: 44px;
    background: rgba(0, 0, 0, 0.3);
    z-index: 3;
    border-radius: 8px 0 0 8px;
    text-align: center;
}

.setting-tab i:hover {
    cursor: pointer;
}

.setting-tab-container {
    position: fixed;
    background-color: #fff;
    border-radius: 8px;
    padding: 12px 15px;
    box-shadow: 3px 3px 8px #888888;
    top: 70px;
    /* opacity: 0; */
    right: 110px;
    z-index: 5;
    display: none;
}

.setting-tab-container.open {
    /* visibility: visible; */
    display: block;
}

.setting-tab-container::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 10px;
    width: 12px;
    border-bottom: 12px solid transparent;
    border-left: 12px solid rgba(0, 0, 0, 0.2);
    border-top: 8px solid transparent;
    right: -12px;
}

.setting-tab-container::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0px;
    width: 12px;
    border-bottom: 12px solid transparent;
    border-left: 12px solid #fff;
    border-top: 12px solid transparent;
    right: -12px;
}

.setting-tab-container .badge {
    border: 3px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    height: 23px;
    margin-right: 5px;
    position: relative;
    width: 23px;
    padding: 8px;
    transition: all 0.34s;
}

.badge.primary {
    background-color: #1b2a4e;
}

.badge.red {
    background-color: #f44336;
}

.badge.green {
    background-color: #18ce0f;
}

.badge.purple {
    background-color: #9368e9;
}

.badge.blue {
    background-color: #2ca8ff;
}

.setting-tab-container .badge.active {
    border-color: #0bf;
}

.setting-overlay {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: 3;
}

.setting-overlay.open {
    display: block;
}

/* document css */
.fa-folder,
.fa-picture-o,
.fa-file-pdf-o {
    font-size: 90px;
    color: rgb(37, 182, 231) !important;
    height: 100px;
    width: 80px;
    /* color: #f6ce4d; */
}

.fa-file-o {
    font-size: 80px;
    color: rgb(37, 182, 231) !important;
    height: 100px;
    width: 80px;
}

.la-file-pdf {
    font-size: 80px;
    color: red !important;
    height: 45px;
    width: 45px;
}

.fa-th {
    font-size: 20px;
    margin-right: 0px;
}

.fa-th:hover {
    font-size: 21px;
    cursor: pointer;
}

.file-icon {
    font-size: 70px;
    float: right;
}

.document:hover {
    /* background: #343a4026 !important; */
    background: #636d7a26 !important;
    cursor: pointer;
}

.document:hover+.detail-info {
    visibility: visible;
}

.context-menu {
    position: absolute;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgb(64 64 64 / 25%);
    z-index: 1111;
    padding: 5px 0;
    font-family: "Montserrat", sans-serif;
    width: 200px;
}

ul>li {
    cursor: pointer !important;
}

.context-menu ul {
    padding: 0px;
    margin: 0px;
    min-width: 150px;
    list-style: none;
}

.context-menu ul li {
    padding-bottom: 5px;
    padding-top: 5px;
    /* font-size: 14px; */
    padding-left: 20px;
    /* border: 1px solid black; */
}

.context-menu ul li a {
    text-decoration: none;
    color: black;
    margin-left: -60px;
}

.disable {
    opacity: 0.5;
    pointer-events: none;
}

.context-menu ul li:hover {
    background: #f1f3f7;
    color: #4b00ff;
}

.context-menu ul>li.documentDltBtn:hover {
    color: red;
}

.context-menu ul>li.documentDetailDltBtn:hover {
    color: red;
}

/* ----- menu-----*/

.body-menu {
    position: absolute;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgb(64 64 64 / 25%);
    z-index: 1111;
    padding: 10px 0;
    font-family: "Montserrat", sans-serif;
    width: 200px;
    /* text-align: left; */
}

ul>li {
    cursor: pointer !important;
}

.body-menu ul {
    padding: 0px;
    margin: 0px;
    min-width: 150px;
    list-style: none;
}

.body-menu ul li {
    font-size: 14px !important;
    padding-bottom: 5px !important;
    padding-top: 5px !important;
    padding-left: 20px !important;
}

.body-menu ul li a {
    text-decoration: none;
    color: black;
}

.disable {
    opacity: 0.5;
    pointer-events: none;
}

.body-menu ul li:hover {
    background: #f1f3f7;
    color: #4b00ff;
}

.body-menu ul>li.documentDltBtn:hover {
    color: red;
}

.body-menu ul>li.documentDetailDltBtn:hover {
    color: red;
}


.body-menu .share {
    position: relative;
    justify-content: space-between;
}

.share .share-menu {
    position: absolute;
    background: #fff;
    width: 200px;
    right: -200px;
    top: -6px;
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
    transition: 0.2s ease;
}

.share-menu ul li {
    font-size: 13px !important;
    padding-bottom: 5px !important;
    padding-top: 5px !important;
}

.share:hover .share-menu {
    opacity: 1;
    pointer-events: auto;
}

.order .order-menu {
    position: absolute;
    background: #fff;
    width: 200px;
    right: -200px;
    top: -35px;
    padding: 13px;
    opacity: 0;
    pointer-events: none;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
    transition: 0.2s ease;
}

.order:hover .order-menu {
    opacity: 1;
    pointer-events: auto;
}

li.disabled {
    background-color: lightgray;
    pointer-events: none;
}


/* .sub-list {
  display: none;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(64, 64, 64, 0.15);
  position: absolute;
  left: 100%;
  right: 0;
  z-index: 100;
  width: 100%;
  top: 0;
  flex-direction: column;

} */

.menu-list>li>.sub-list:hover {
    display: flex;
}

.menu-item {
    position: relative;
}

.menu-item {
    position: relative;
}

.menu-button {
    font: inherit;
    border: 0;
    padding: 8px 8px;
    padding-right: 36px;
    width: 100%;
    border-radius: 8px;
    text-align: left;
    display: flex;
    align-items: center;
    position: relative;
}

.menu-button:hover+.menu-sub-list {
    display: flex;
}


/*===========================*/

.viewIcon i {
    cursor: pointer;
    font-size: 22px !important;
}

.viewIcon i:hover {
    font-weight: bold !important;
}

@media (min-width: 992px) {
    .col-lg-2-5 {
        flex: 0 0 20%;
        max-width: 25%;
    }
}

.text-black {
    color: black;
}

.detail-info {
    color: gray !important;
    visibility: hidden;
}

.detail-info i:hover {
    color: blue !important;
}

[id^="documentContextMenu"] {
    position: fixed;
    top: 20px;
}

[id^="documentDetailContextMenu"] {
    position: fixed;
    top: 20px;
}

#bread-crumb {
    margin-bottom: -18px;
    /* padding-bottom: 1em !important; */
}

.viewIcon {
    text-align: center;
    padding-top: 0.2em;
}

.doc-head {
    border-radius: 14px !important;
    padding: 0.6em 1em 0.4em 1em;
}

.doc-img {
    /* width:90px;
    height: 90px; */
    /* background-size: cover;
    margin-top: 10px;
    padding: 5px 11px 0px 0px; */
}

.doc-pdf {
    background-size: cover;
    padding: 5px 11px 0px 0px;
}

a[data-fancybox] img.doc-pdf {
    max-width: 60px;
    margin-top: 10px;
    padding: 5px 11px 0px 0px;
}

/* body {
	background: #DDD;
	font-size: 15px;
} */
#wrap {
    /* margin: 50px 100px; */
    display: inline-block;
    position: relative;
    /* height: 60px; */
    float: right;
    padding: 0;
    position: relative;
    top: -1.1em;
    left: 3em;
}

#wrap input[type="text"] {
    height: 58px;
    font-size: 16px;
    display: inline-block;
    font-family: "Lato";
    font-weight: 300;
    border: none;
    outline: none;
    color: rgb(52, 52, 52);
    padding: 3px;
    padding-right: 60px;
    width: 0px;
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    z-index: 3;
    transition: width 0.4s cubic-bezier(0, 0.795, 0, 1);
    cursor: pointer;
}

#wrap input[type="text"]:focus:hover {
    border-bottom: 1px solid #bbb;
}

#wrap input[type="text"]:focus {
    width: 280px;
    z-index: 1;
    border-bottom: 2px solid #bbb;
    cursor: text;
}

#wrap input[type="submit"] {
    height: 67px;
    width: 63px;
    display: inline-block;
    color: red;
    float: right;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADNQTFRFU1NT9fX1lJSUXl5e1dXVfn5+c3Nz6urqv7+/tLS0iYmJqampn5+fysrK39/faWlp////Vi4ZywAAABF0Uk5T/////////////////////wAlrZliAAABLklEQVR42rSWWRbDIAhFHeOUtN3/ags1zaA4cHrKZ8JFRHwoXkwTvwGP1Qo0bYObAPwiLmbNAHBWFBZlD9j0JxflDViIObNHG/Do8PRHTJk0TezAhv7qloK0JJEBh+F8+U/hopIELOWfiZUCDOZD1RADOQKA75oq4cvVkcT+OdHnqqpQCITWAjnWVgGQUWz12lJuGwGoaWgBKzRVBcCypgUkOAoWgBX/L0CmxN40u6xwcIJ1cOzWYDffp3axsQOyvdkXiH9FKRFwPRHYZUaXMgPLeiW7QhbDRciyLXJaKheCuLbiVoqx1DVRyH26yb0hsuoOFEPsoz+BVE0MRlZNjGZcRQyHYkmMp2hBTIzdkzCTc/pLqOnBrk7/yZdAOq/q5NPBH1f7x7fGP4C3AAMAQrhzX9zhcGsAAAAASUVORK5CYII=) center center no-repeat;
    text-indent: -10000px;
    background-size: 25px 25px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    cursor: pointer;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.4s ease;
}

#wrap input[type="submit"]:hover {
    opacity: 0.8;
}

/* // */

.gallery {
    display: inline-block;
    text-align: center;
    margin: 10px auto;
    clear: both;
    padding: 0;
    padding: 10px;
    background-color: #ccc;
    border-radius: 5px;
}

.gallery img {
    /* thumbnails */
    width: 100px;
    height: 75px;
}

.block {
    display: inline-block;
    background-color: #ccc;
    border-radius: 5px;
    padding: 8px;
}

pre {
    background-color: #eee;
    border-radius: 5px;
    padding: 8px;
    clear: both;
}

a[data-fancybox] img {
    cursor: zoom-in;
    object-position: top;
    object-fit: cover;
    position: relative;
    text-align: center !important;
    align-items: center;
    cursor: zoom-in;
    object-position: top;
    /* margin: 0em 1em 1em 3em; */
    /* left:40%; */
    /* margin: 0em 1em 1em 2em; */
    /* object-fit: cover; */
}

.highlight {
    color: red;
}

.menu-line {
    border: 0 !important;
    border-top: 1px solid rgba(22, 28, 45, 0.1) !important;
    margin: 0;
    padding: 0;
}

input[type=checkbox][disabled] {
    box-sizing: border-box;
    outline: 6px solid rgb(31, 161, 231) !important;
    outline-offset: -25px !important;
}


.share-menu .checked {
    content: "fa fa-copy";
    background: #0bf;

}

.share-menu .name {
    display: none;
}

.share-menu .date {
    display: none;
}

.share-menu .asc {
    display: none;
}

.share-menu .desc {
    display: none;
}


/* ─── Modern Form Input Fields ──────────────────────────────────────────── */

.input-label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    font-size: 13px;
    color: #1e293b;
    letter-spacing: -0.01em;
}

.select-wrapper {
    position: relative;
}

.modern-select {
    width: 100%;
    min-height: 44px;
    padding: 0 40px 0 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    color: #1e293b;
    cursor: pointer;
}

.modern-select:focus {
    outline: none;
    border-color: #2460B9;
    box-shadow: 0 0 0 3px rgba(36, 96, 185, 0.1);
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: #94a3b8;
}

.tag {
    display: inline-block;
    background: linear-gradient(135deg, #2460B9, #1e40af);
    color: white;
    padding: 2px 12px;
    border-radius: 6px;
    margin: 2px 4px 2px 0;
    font-size: 12px;
    font-weight: 500;
}

legend {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0 0 8px 0;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 700;
    line-height: inherit;
    color: #285cd4;
    border-bottom: 2px solid #f1f5f9;
}

/* ─── Modern Modal Forms (document modals) ──────────────────────────────── */
.modal-content {
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 16px rgba(15,23,42,0.06), 0 16px 48px rgba(15,23,42,0.1) !important;
    overflow: hidden !important;
}

.modal-header {
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 16px 24px !important;
}

.modal-header .modal-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.modal-header .close {
    border: none !important;
    background: #f1f5f9 !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    padding: 0 !important;
    transition: all 0.15s !important;
}

.modal-header .close:hover {
    background: #e2e8f0 !important;
    transform: rotate(90deg) !important;
}

.modal-body {
    padding: 20px 24px !important;
}

.modal-footer {
    border-top: 1px solid #f1f5f9 !important;
    padding: 14px 24px !important;
    gap: 8px !important;
}

/* ─── Search Form ────────────────────────────────────────────────────────── */
.search-form .form-control {
    background: #f8fafc !important;
}

.search-form .form-control:focus {
    background: #fff !important;
}

/* ─── Filter / Advanced Search Sections ──────────────────────────────────── */
.filter-section {
    background: #f8fafc;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #f1f5f9;
}

/* ─── Login form extensions (for non-login pages) ────────────────────────── */
.input-group-custom {
    position: relative;
}

.input-group-custom .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    transition: color 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.input-group-custom:focus-within .input-icon {
    color: #2460B9;
}

.form-control {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    height: auto;
    min-height: 35px;
    color: #1e293b;
}
.select2-container--bootstrap .select2-selection {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    min-height: 37px !important;
    padding: 4px 0;
    box-shadow: none !important;
}

form .select2-container--bootstrap .select2-selection--single {
    padding-bottom: 8px;
    padding-top: 4px;
}
.select2-results__option{
    font-size:13px;
}


.btn-success {
  background-color: #067a52;
}

.edit-btn {
  margin-left: 2px;
  padding: 0px 2px 0px 3px !important;
  border-radius: 4px;
  font-size: 16px;
}

.show-btn {
  margin-left: 2px;
  padding: 1px 2px 1px 3px;
  border-radius: 4px;
  font-size: 12px;
  border: 1px solid #0d5469;
  background-color: #135e75;
  color:white;
}

.extra-action-btn {
  margin-left: 2px;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 14px;
  border: 1px solid #1189ad;
  background-color: #1592b8;
  color:white;
}
.extra-action-btn:hover {
  margin-left: 2px;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 14px;
  border: 1px solid #0e576d;
  background-color: #0d5368;
  color:white;
}
.print-btn {
  margin-left: 2px;
  padding: 0px 5px;
  border-radius: 4px;
  font-size: 16px;
  border: 1px solid #0b7697;
  background-color: #1aa0c8;
}


.back-btn {
  background-color: grey;
  color: white;
  border-radius: 4px;
  padding: 2px 7px 2px 2px;
  font-size: 14px;
  transition: transform 0.2s;
}
.back-btn:hover {
  text-decoration: none;
  background-color: rgb(53, 51, 51);
  color: white;
}


.delete-btn {
  margin-left: 2px;
  padding: 0px 2px 0px 2px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
}

.left-navbar{
    position: fixed;
    left:20%;
}

.header-module-tab {
  color: rgba(255,255,255,0.7) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.header-module-tab:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.1) !important;
}

.header-module-tab.active {
  color: #fff !important;
  background: rgba(255,255,255,0.15) !important;
  border-bottom: 2px solid #4a9eff !important;
}

.header-module-tab i {
  margin-right: 6px !important;
  font-size: 16px !important;
}

.app-header .navbar-nav .nav-item {
  display: flex;
  align-items: center;
}
