/* all */
/* all */
/* navbar */
table tfoot tr td {
    white-space: nowrap;
}

table tfoot tr th {
    white-space: nowrap;
}

.fs-14 {
    font-size: 14px;
}

.fs-16 {
    font-size: 16px;
}

.width-280 {
    min-width: 280px;
}

.user-icon {
    margin-right: 8px;
    border-radius: 50%;
    background-color: var(--white);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-icon i {
    color: var(--blue-1);
}

.user-name {}

.lang-ul {
    min-width: 60px;
    overflow: hidden;
}

.user-ul {
    overflow: hidden;
}

.weather {}

.weather img {
    max-height: 40px;
    margin-right: 8px;
}

.weather span {
    font-size: var(--size-12);
    color: var(--white);
}

body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
    margin-right: 7.5px;
    border-radius: 10px;
}

body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav).sidebar-collapse .main-header {}

@media (min-width: 768px) {
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
        margin-left: 257.5px;
    }
}

@media (max-width: 991.98px) {
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
        margin-left: 7.5px;
    }
}

/* navbar */
/* sidebar */
.sidebar {}

.limit-treeview {
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 4px 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.limit-treeview .nav-link {
    border-radius: 4px;
}

.brand-link {
    font-family: 'Montserrat-600';
    color: var(--white);
}

.help {
    position: absolute;
    bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    text-align: center;
}

.help-button {
    border: 1px solid var(--white);
    border-radius: 5px;
    background-color: var(--white);
    color: var(--blue-1);
    padding: 8px 15px;
    font-size: var(--size-12);
    font-weight: 500;
}

.help .dropdown-menu {
    border-color: transparent;
}

.help .dropdown-menu a {}

.sidebar-collapse .help {
    display: none;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: var(--white);
    color: var(--blue-1);
}

/* sidebar */
/* content-header */
.my-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px;
}

.dark-mode .my-card {
    background-color: var(--gray-dark);
    color: var(--white);
}

.main-title {}

.main-title span {
    font-family: "Inter-600", sans-serif;
    font-size: var(--size-20);
}

.pdf-link {
    border: 1px solid rgba(253, 120, 128, 1);
    padding: 5px 15px;
    border-radius: 4px;
    display: inline-block;
}

.pdf-link span {
    color: var(--color-text);
    font-size: var(--size-12);
}

.pdf-link img {
    margin-left: 6px;
}

.xls-link {
    border: 1px solid rgba(129, 203, 111, 1);
    padding: 5px 15px;
    border-radius: 4px;
    display: inline-block;
}

.xls-link span {
    color: var(--color-text);
    font-size: var(--size-12);
}

.xls-link img {
    margin-left: 6px;
}

.file-download {}

.file-download span {
    font-size: var(--size-12);
    font-family: 'Inter-500', sans-serif;
}

.add-data {
    display: inline-block;
    border: 1px solid var(--blue-1);
    border-radius: 6px;
    padding: 8px 15px;
    transition: 0.2s;
}

.add-data svg {
    margin-right: 8px;
}

.add-data span {
    color: var(--blue-1);
}

.add-data:hover {}

/* content-header */
/* table */
.table-title {}

.table-title span {
    font-family: 'Inter-700', sans-serif;
    color: var(--color-text);
}

.table .thead-blue th {
    color: #fff;
    background-color: var(--blue-1);
    border-color: var(--white);
    vertical-align: middle;
    text-align: center;
    font-weight: 700;
}


.dark-mode .table .thead-blue th {
    background-color: var(--gray-dark);
    border-color: var(--gray);
}

.table-foot-fixed th,
.table-foot-fixed td {
    position: sticky;
    bottom: 0;
    z-index: 10;
    background-color: var(--white);
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.dark-mode .table-foot-fixed th,
.dark-mode .table-foot-fixed td {
    background-color: var(--gray-dark);
    box-shadow: 0 -2px 5px rgba(255, 255, 255, 0.05);
}

/* table */
/* footer */
.uzinfocom {}

.uzinfocom img {
    max-width: 220px;
    max-height: 20px;
}

/* footer */
/* form */
.save-link {
    display: inline-block;
    background-color: var(--green);
    border: 2px solid var(--green);
    border-radius: 4px;
    color: var(--white);
    font-family: 'Inter-500', sans-serif;
    padding: 5px 15px;
}

.save-link:hover {
    background-color: transparent;
    color: var(--green);
}

.back-link {
    display: inline-block;
    background-color: var(--red);
    border: 2px solid var(--red);
    border-radius: 4px;
    color: var(--white);
    font-family: 'Inter-500', sans-serif;
    padding: 5px 15px;
}

.back-link:hover {
    background-color: transparent;
    color: var(--red);
}

.blue-link {
    display: inline-block;
    background-color: var(--blue-1);
    border: 2px solid var(--blue-1);
    border-radius: 4px;
    color: var(--white);
    font-family: 'Inter-500', sans-serif;
    padding: 5px 15px;
}

.blue-link:hover {
    background-color: transparent;
    color: var(--blue-1);
}

/* form */
/* login */
.login-page,
.register-page {
    background-color: var(--blue-1);
}

.one-id {
    text-align: center;
    min-height: 360px;
}

.one-id a {}

.one-id a img {
    max-width: 300px;
}

.tab-item {
    background-color: var(--blue-1);
    color: var(--white);
}

.login-tab {
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 5px;
    padding: 5px;
    display: flex;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin: 15px 10px;
    width: 95%;
}

.login-tab li {
    background-color: #f0f0f0;
    width: 50%;
}

.login-tab li button {
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 600;
    border: none;
    width: 100%;
}

.login-tab li button.active {
    background-color: var(--blue-1);
    color: var(--white);
}

.login-title {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.login-title span {
    font-family: "Inter-700";
    font-size: var(--size-20);
}

.login-description {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.login-description span {
    color: var(--color-text);
}

.link-block {
    min-width: 150px;
    display: block;
    padding: 10px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
    background-color: #ffffff;
    color: #0056b3;
}

.link-block:hover {
    background-color: #0056b3;
    color: #e6f0ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* login */
/* home */
main.home {
    min-height: 100vh;
    position: relative;
}

.banner-video {
    position: absolute;
    width: 100%;
    height: 100%;
}

.banner-video:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(22, 22, 22, 0.85);
}

.banner-video img {
    width: 100%;
    min-height: 100vh;
}

.banner-video video {
    width: 100%;
    vertical-align: middle;
}

.home-header {
    position: relative;
}

.home-logo-right {}

.home-logo-right span {
    font-family: 'Inter-700';
    color: var(--white);
}

.home-logo {}

.home-logo a {
    display: flex;
    align-items: center;
}

.home-logo-left {
    margin-right: 10px;
}

.home-logo-left img {
    max-width: 100px;
    max-height: 100px;
}

.phone-numbers {}

.phone-numbers a {
    font-size: var(--size-20);
    font-family: 'Inter-700';
    color: var(--white);
}

.phone-numbers span {
    color: var(--white);
    margin-left: 8px;
    margin-right: 8px;
}

.home-line {
    border-bottom: 1px solid var(--white);
    padding-bottom: 15px;
}

.home-banner {
    position: relative;
}

.home-title {}

.home-title a {
    display: flex;
    align-items: center;
}

.home-title a img {
    margin-right: 10px;
}

.home-title a span {
    color: var(--white);
}

.home-description {}

.home-description span {
    color: var(--white);
    font-size: var(--size-32);
}

.home-text {}

.home-text span {
    color: var(--white);
    font-size: var(--size-20);
}

.home-enter {}

.home-enter a {
    border: 1px solid var(--white);
    border-radius: 20px;
    padding: 10px 20px;
    color: var(--white);
    display: inline-block;
}

.banner-dots {
    margin-left: 2px;
    margin-right: 2px;
}

.banner-dots button {
    border: none;
    background-color: transparent;
}

.banner-dots button .span-dots {
    width: 10px;
    height: 10px;
    background-color: var(--white);
    border-radius: 50%;
    border: 1px solid var(--white);
    display: block;
}

.banner-dots button .span-text {
    color: var(--white);
    display: inline-block;
}

@media (min-width: 1200px) {
    .home-title {
        margin-top: 100px;
    }

    .banner-line {
        margin-top: 130px;
    }

    .home-title a span {
        font-size: 80px;
    }
}

@media (min-width: 1400px) {
    .banner-line {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .banner-dots button .span-text {
        position: absolute;
        min-width: 150px;
        left: 50%;
        transform: translateX(-50%);
        top: 20px;
    }

    .banner-border {
        border-top: 1px solid var(--white);
        flex: 1;
    }

    .home-banner {
        padding-bottom: 100px;
    }

    .banner-video video {
        height: 100vh;
        object-fit: cover;
    }

    .home-footer {
        position: absolute;
        bottom: 30px;
        width: 100%;
    }
}

@media (min-width: 1600px) {
    .container-large {
        max-width: 1600px;
    }
}

@media (max-width: 1399px) {
    .banner-dots {
        margin-top: 10px;
    }

    .banner-video video {
        height: 100%;
        object-fit: cover;
    }

    .home-footer {
        position: relative;
        padding-bottom: 30px;
        margin-top: 50px;
    }

    .banner-dots button {
        display: flex;
        align-items: center;
    }

    .banner-dots button .span-dots {
        margin-right: 10px;

    }
}

@media (max-width: 1199px) {
    .banner-line {
        margin-top: 50px;
    }

    .home-banner {
        margin-top: 30px;
    }

    .home-title a span {
        font-size: 36px;
    }

    .home-description {
        margin-top: 15px;
    }
}

@media (max-width: 767px) {
    .home-logo a {
        justify-content: center;
    }

    .phone-numbers {
        text-align: center;
    }

    .home-banner {
        text-align: center;
    }

    .home-title a {
        justify-content: center;
    }
}

/* home */
.login-box,
.register-box {
    width: inherit !important;
}

.my-table a {
    color: var(--bs-black);
}

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

.my-table .table th {
    vertical-align: middle;
    text-align: center;
}

.my-table .td-v-divider {
    margin-top: 0.3rem;
    vertical-align: middle;
    text-align: center;
}

.my-table .total-item td {
    vertical-align: middle;
    text-align: center;
    font-weight: 700;
}

.my-table .cursor-pointer {
    cursor: pointer;
}

.my-table .cursor-pointer:hover td {
    color: #007bff;
}

.my-table .cursor-pointer td {
    vertical-align: middle;
}

.my-table {}

/* width */
.table-responsive::-webkit-scrollbar {
    height: 10px;
}

/* Track */
.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.table-responsive::-webkit-scrollbar-thumb {
    background: var(--bg-blue-1);
}

/* Handle on hover */
.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--bg-blue-1);
}

.my-table table tr {
    vertical-align: middle;
}

.wd-400 {
    min-width: 400px !important;
}

.wd-300 {
    min-width: 300px !important;
}

.wd-250 {
    min-width: 250px;
}

.wd-220 {
    min-width: 220px;
}

.wd-200 {
    min-width: 200px !important;
}

.wd-180 {
    min-width: 180px;
}

.wd-150 {
    min-width: 150px;
}

.wd-120 {
    min-width: 120px;
}

.wd-100 {
    min-width: 100px;
}

.wd-80 {
    min-width: 80px;
}

.wd-60 {
    min-width: 60px;
}

.w-60 {
    width: 60px;
}

.td_wd_100 {
    max-width: 100px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

.td_wd_150 {
    max-width: 150px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

.td_wd_200 {
    max-width: 200px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

.td_wd_250 {
    max-width: 250px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

.td_wd_300 {
    max-width: 300px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

.td_wd_350 {
    max-width: 350px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

.td_wd_400 {
    max-width: 400px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

[class*=sidebar-dark] .brand-link {
    border-bottom-color: transparent;
}

.white-space-nowrap {
    white-space: nowrap;
}

.word-wrap-table table tbody tr td {
    text-wrap: nowrap;
}

.no-wrap {
    text-wrap: initial !important;
}

.my-table table tbody tr td:nth-child(1),
.my-table table tbody tr td:nth-child(2) {
    text-wrap: start !important;
    text-align: start;
}

.fade-50 {
    opacity: 50%;
}


.steps .item {
    margin: 10px;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    background-color: #e9ecef;
    color: #007bff;
    text-align: center;
    min-width: 200px;
}

.steps .item.active {
    background-color: #007bff;
    color: #fff;
}

.steps .arrow {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
    margin: 0 10px;
}

.validation-error {
    max-width: 120px;
    white-space: wrap;
    font-size: 12px;
    line-height: 12px;
    margin-top: 5px;
    color: #dc3545 !important;
}

tr[aria-expanded="true"] i.fas {
    transform: rotate(180deg);
}

tr .fa-angle-down {
    font-size: 20px;
    color: var(--bg-blue-1);
}

.scroll-table {
    overflow: auto !important;
    position: relative !important;
}

.scroll-table::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.scroll-table::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.scroll-table::-webkit-scrollbar-thumb {
    background: var(--blue-1);
    border-radius: 4px;
}

/* Handle on hover */
.scroll-table::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.mh-700 {
    max-height: 700px !important;
}

.mh-800 {
    max-height: 800px;
}

.mh-900 {
    max-height: 900px;
}

.mh-1000 {
    max-height: 1000px;
}

.table-head-fixed {
    top: 0;
    position: sticky;
    z-index: 3;
}

.table-head-fixed th {
    /* Use box-shadow instead of border for sticky elements */
    border: none !important;
    box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #fff;
}

.dark-mode .table-head-fixed th {
    box-shadow: inset 1px 1px 0 var(--gray), inset -1px -1px 0 var(--gray);
}

/* organization view custom styles */
.info-box-sm {
    min-height: 48px;
    margin-bottom: 0;
    border: 1px solid rgba(0, 0, 0, .125);
    background-color: transparent !important;
}

.info-box-sm .info-box-icon {
    width: 48px;
    font-size: 1.2rem;
    color: #fff !important;
}

.info-box-sm .info-box-content {
    padding: 5px 10px;
}

.info-box-sm .info-box-text {
    font-size: 0.8rem;
    margin-bottom: 0;
    line-height: 1;
}

.info-box-sm .info-box-number {
    font-size: 0.9rem;
    font-weight: 700;
}

/* Outlined color variations */
.info-box-outline-info {
    border-color: #17a2b8;
    color: #17a2b8 !important;
}

.info-box-outline-info .info-box-icon {
    background-color: #17a2b8 !important;
}

.info-box-outline-info .info-box-number,
.info-box-outline-info .info-box-text {
    color: #17a2b8 !important;
}

.info-box-outline-success {
    border-color: #28a745;
    color: #28a745 !important;
}

.info-box-outline-success .info-box-icon {
    background-color: #28a745 !important;
}

.info-box-outline-success .info-box-number,
.info-box-outline-success .info-box-text {
    color: #28a745 !important;
}

.info-box-outline-primary {
    border-color: #007bff;
    color: #007bff !important;
}

.info-box-outline-primary .info-box-icon {
    background-color: #007bff !important;
}

.info-box-outline-primary .info-box-number,
.info-box-outline-primary .info-box-text {
    color: #007bff !important;
}

.info-box-outline-warning {
    border-color: #ffc107;
    color: #ffc107 !important;
}

.info-box-outline-warning .info-box-icon {
    background-color: #ffc107 !important;
}

.info-box-outline-warning .info-box-number,
.info-box-outline-warning .info-box-text {
    color: #856404 !important;
}

.compact-search .form-group {
    margin-bottom: 0px !important;
}

.my-card-compact {
    padding: 10px 15px !important;
}

/* Crop Placement Module Styles */
.crop-placement-full-map .card {
    transition: all 0.3s ease;
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

.crop-placement-full-map #full-crop-map {
    height: calc(100vh - 220px);
    min-height: 600px;
    border-radius: 0;
}

@media (max-width: 768px) {
    .crop-placement-full-map .content-wrapper>.content {
        padding: 0 !important;
    }

    .crop-placement-full-map .content-wrapper>.content>.container-fluid {
        padding: 0 !important;
    }

    .crop-placement-full-map #full-crop-map {
        height: calc(100vh - 160px);
        min-height: 480px;
    }

    .crop-placement-full-map .content-header {
        padding: 8px 15px !important;
        margin-bottom: 0 !important;
    }
}

.crop-placement-full-map .select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.crop-placement-full-map #advanced-filters {
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 10px;
}

.crop-placement-full-map .progress-bar-animated {
    transition: width 0.4s ease;
}

.crop-placement-full-map .btn-group-toggle .btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

.crop-placement-full-map #progress-text {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Utility classes for crop placement */
.gap-15 {
    gap: 15px;
}

.gap-5 {
    gap: 5px;
}

.wd-200-fixed {
    width: 200px;
}

.mt-31 {
    margin-top: 31px;
}

.w-auto-select {
    width: auto;
}

.dw-filter-row .form-group {
    margin-bottom: 0;
}

.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner[type='number'] {
    -moz-appearance: textfield;
}

/* Table Widths and Wrapping */
.w-80p { width: 80% !important; }
.w-75p { width: 75% !important; }
.w-15p { width: 15% !important; }
.w-10p { width: 10% !important; }
.w-7-5p { width: 7.5% !important; }
.w-5p { width: 5% !important; }

.w-40px { width: 40px !important; max-width: 40px !important; padding-left: 2px !important; padding-right: 2px !important; }
.w-70px { width: 70px !important; max-width: 70px !important; }
.w-100px { width: 100px !important; }
.w-150px { width: 150px !important; }
.w-200px { width: 200px !important; }


.table-fixed {
    table-layout: fixed !important;
}

.table-wrap td, .table-wrap th {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

.nowrap-line {
    white-space: nowrap !important;
}
