/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Changa:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* root */

:root {
    --logo-font: "Changa", sans-serif;
    --montserret-font: "Montserrat", sans-serif;
    --poppin-font: "Poppins", sans-serif;
    --primary-color: #005040;
    --secondary-color: #C4DBA0;
    --text-color: #222222;
    --black-color: #000000;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: var(--poppin-font);
    margin-bottom: 0;
}
ul, li {
    list-style: none;
    padding: 0;
}
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: var(--primary-color);
}

.fw-500 {
    font-weight: 500;
}

.small-text {
    font-size: 12px;
}
.my-30 {
    margin: 30px auto;
}
/* .col-xl-8, .col-lg-8, .col-md-8, .col-md-6, .col-md-4, .col-md-3, .col-xl-6, .col-xl-4, .col-xl-3, .col-lg-6, .col-lg-4, .col-lg-3 {
    padding: 0;
} */

section.page-heading .container {
    padding: 0;
}
/* main */
.logo-text {
    font-family: var(--logo-font);
    font-size: 66px;
    text-align: center;
}

.right-login {
    height: 100vh;
    background: var(--secondary-color);
}

.left-login {
    height: 100vh;
    background: url(../images/loginbackground.svg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
}

.footer-login-right h5 {
    font-family: var(--montserret-font);
    margin-left: 10px;
}

.footer-login-right {
    position: absolute;
    bottom: 5%;
}

.icon-text-hp {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 35px;
    background: var(--secondary-color);
    border: 1px solid var(--primary-color);
    margin-right: 24px;
}

.icon-text-hp-second {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #F5F5DC;
    padding: 10px 20px;
    border: 1px solid #22222270;
}

.login-text {
    font-size: 50px;
    font-family: var(--poppin-font);
    font-weight: 600;
}

.login-tab-section {
    margin: 30px 0;
}

.hp-lebal-login {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
    margin-bottom: 0;
    line-height: 1.5;
    color: var(--text-color);
    font-weight: 600;
}

.hp-control {
    display: block;
    width: 337px;
    padding: 12px 16px;
    margin-bottom: 0;
    line-height: 1.5;
    color: #212529;
    background-color: #c4dba0;
    border: solid transparent;
    border-width: 1px 0;
    border-radius: 4px;
    max-width: 337px;
}

.btn-login-cover {
    background: var(--primary-color);
    border-radius: 4px;
    padding: 10px 0;
    margin-top: 24px;
}

a.forgot-password {
    font-weight: 500;
    color: var(--text-color);
}

.btn-login-cover:hover {
    background: var(--secondary-color);
    transition: 1s;
}

.btn-login-cover:hover .btn {
    color: var(--black-color) !important;
}

section.login .col-lg-6 {
    padding: 0;
}

/* raw materials page */

#wrapper {
    padding-left: 0;
    transition: all 0.5s ease;
    position: relative;
}
#wrapper.toggled ul.sidebar-nav i {
    margin-right: 30px;
}
#sidebar-wrapper {
    z-index: 1;
    position: fixed;
    left: 250px;
    height: 100%;
    width: 0;
    top: 0;
    margin-left: -250px;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.5s ease;
    box-shadow: 4px 0px 8px #22222214;
    background: white;
}

.side-logo-name {
    font-family: var(--logo-font);
    margin-left: 10px;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

.sidebar-brand img {
    width: 48px;
}

.sidebar-brand {
    text-align: center;
    padding: 20px 8px;
    display: flex;
}

h4.side-logo-name {
    font-size: 22px;
}

/* #wrapper.toggled #sidebar-wrapper a span {
    visibility: hidden;
    transition: 1s;
    display: none;
} */

#sidebar-wrapper a span {
    transition: 1s;
    color: #222222cf;
    font-weight: 500;
    margin-left: 10px;
}
.sidebar-menu li.active .cls-3 {
    fill-opacity: 1;
    fill: #222222 !important;
}
.sidebar-nav {
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.sidebar-nav i {
    font-size: 24px;
    margin-right: 8px;
    transition: 0.5s;
}

.sidebar-nav>li {
    padding: 10px 16px;
}

.navbar-header {
    position: relative;
    width: 100%;
    padding: 0 12px;
}
.h-red:before{
    color: #E66A6A;
}
.h-yewllow:before{
    color: #EBB700;
}
.h-red:before{
    color: #E66A6A;
}
.dot-in-sidebar {
    padding-left: 14px;
}

.sidebar-nav a {
    color: #22222260;
    font-weight: 500;
    display: flex;
    align-items: center;
}

#navbar-wrapper {
    width: 100%;
    position: absolute;
    z-index: 2;
}

/* .sidebar-nav li:hover a {
    color: var(--text-color);
}

.sidebar-nav li.active,
.sidebar-nav li:hover {
    background: var(--secondary-color);
    border-radius: 4px;
    transition: 1s;
} */

/* .sidebar-nav li.active a {
    color: #222222;
} */

#wrapper.toggled #navbar-wrapper {
    position: absolute;
    margin-right: -250px;
}

#navbar-wrapper .navbar {
    background-color: transparent;
    border-bottom: 1px solid #22222210;
    border-top: 1px solid #22222210;
    /* margin-top: 44px; */
    /* padding: 0.5rem 12px; */
}

#content-wrapper {
    padding: 15px;
}

#wrapper.toggled #content-wrapper {
    position: absolute;
    margin-right: -250px;
}

aside#sidebar-wrapper::-webkit-scrollbar {
    display: none;
}

a#sidebar-toggle {
    margin-left: -2%;
}

.user-name {
    margin: 0 12px;
}

i.hp-notifications_unread {
    font-size: 32px;
    margin-right: 32px;
}

.btn-user-dropdown {
    background: var(--secondary-color);
    border-radius: 4px;
    padding: 4px;
}

.dropdown-menu.show {
    width: 100%;
}
.btn-border, .btn-border-dropdown {
    border: 2px solid var(--text-color);
    font-size: 14px;
    font-weight: 600;
}
.btn-border:hover, .btn-border-dropdown:hover {
    background: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
}

.right-side-page-heading {
    gap: 12px;
}
button.hp-search {
    background: transparent;
    border: none;
    opacity: .3;
}
input#search {
    background: transparent;
}
.searchform {
    background: #c4dba0;
    padding: 8px;
    border-radius: 4px;
    width: max-content;
}
.btn-border-dropdown p {
    font-size: 14px;
    font-weight: 600;
}
tr.table-heading-hp th {
    font-weight: 600;
    /* text-align: center; */
}
tbody.table-body-hp td, tbody.table-body-hp th {
    /* text-align: center; */
    color: #222529;
    font-weight: normal;
}
tbody.table-body-hp .out-link-hp {
    color: #0070E0;
    text-decoration: underline;
}
/* tbody.table-body-hp i {
    color: var(--text-color);
    margin: 0 4px;
    font-size: 20px;
} */
tbody.table-body-hp i {
    color: var(--text-color);
    margin: 0 3px;
    font-size: 12px;
}
.table>:not(:last-child)>:last-child>* {
    border-bottom-color: #22222230;
    border-top:1px solid #22222230
}
.modal-header {
    background: #22222210;
}
h5#addvehicleLabel {
    font-size: 18px;
    font-weight: 600;
}
.btn-close:hover {
    color: #222222;
    text-decoration: none;
    opacity: 0.75;
}
.btn-close {
    color: #222222;
    text-decoration: none;
    opacity: 1;
}
.lebal-hp {
    font-weight: 500;
    margin-bottom: 6px;
}
.input-hp {
    border: 1px solid #22222230 !important;
    border-radius: 4px !important;
    height: 48px !important;
    padding: 0 12px !important;
    width: 100% !important;
    font-size: 16px !important;
    display: block !important;
    align-content: center !important;
    transition: border-color 0.15s ease-in-out;
}
form.popup-hp .col-lg-6 {
    margin: 7px 0;
}
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #6C757D;
    border-radius: .3rem;
    outline: 0;
    box-shadow: 0px 4px 54px #00000025;
}
.btn-submit {
    font-size: 14px;
    font-weight: 600;
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}
.modal-footer-hp {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 24px;
    gap: 24px;
}
li.active.dropdown:hover > .dropdown-menu {
    display: block;
    position: relative;
    background: transparent;
    border: none;
}

/* .sidebar-nav li:hover .dropdown-menu.show {
    background: #c4dba0;
} */

.dropdown-menu.dropdown-menu-lg-right a.dropdown-item {
    padding: 10px;
}
.page-link {
    position: relative;
    display: flex;
    color: #222222;
    text-decoration: none;
    background-color: transparent;
    border: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.right-arrow {
    transform: rotate(90deg);
}
.left-arrow {
    transform: rotate(270deg);
}
.dropdown-menu {
    min-width: inherit;
}
.btn-apply {
    background: black;
    color: white;
    padding: 6px 20px;
}
/* table short */


  /* Arrows */
  table th{
    position: relative;
  }
  table th:after, table th:before {

    content: '';
    height: 0;
    position: absolute;
    right: 0.5em !important;
    top: 53%;
    transform: translateY(-50%);
    transition: border-color 0.2s ease-in-out;
    width: 0;
}
  table th:before {
    border-bottom-color: rgba(255, 255, 255, 0.25);
    border-top: 0;
    margin-top: -0.35em;
  }

  table th:after {
    border-bottom: 0;
    border-top-color: rgba(255, 255, 255, 0.25);
    margin-top: 0.35em;
  }

  table th:hover:before,
  table th:focus:before {
    border-bottom-color: var(--text-color);
  }

  table th:hover:after,
  table th:focus:after {
    border-top-color: var(--text-color);
  }
  .btn-apply:hover {
    background: var(--secondary-color);
    color: var(--black-color);
}
.lot_success_msg{
    color: var(--primary-color);
    font-weight: 600;
}
/* dashboard quality */

.heading-title-page-dashboard h5 {
    font-size: 36px;
    font-weight: 600;
    color: #22222250;
    line-height: 68px;
}
.heading-title-page-dashboard:after {
    content: "";
    position: absolute;
    background: #22222230;
    width: 100%;
    height: 1px;
    bottom: 0;
}
.heading-title-page-dashboard p {
    padding-bottom: 16px;
}
.table-dashboard tr, .table-dashboard th, .table-dashboard thead {
    border: none !important;
}
.table-dashboard th {
    text-align: left !important;
    padding: 10px 0 !important;
    font-size: 14px;
    color: #22222280;
}
tr.dashboard-hp-body td {
    text-align: left;
    padding: 10px 0;
    border: none;
}
.table-dahboard-hp-yop-side {
    margin-top: 30px;
}
span.select2.select2-container.select2-container--default {
    z-index: 0 !important;
}
/* 21/10/2025 hardik */
fieldset.d-flex.d-flex-hp-radio {
    gap: 20px;
}
.input-weight-hp-by {
    margin: 10px 0;
}
.lebal-for-container-hp, .checkbox-hp-container {
    display: flex;
    gap: 20px;
}
.in-hp-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkbox-hp-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
}





/* 23-01-2025 new sidebar css*/

.sidebar-new-hp {
    width: 250px;
    transition: width 0.3s;
    overflow: hidden;
}
.sidebar-new-hp ul li.active {
    background: var(--secondary-color);
}
.sidebar-new-hp.collapsed {
    width: 80px;
}

.sidebar-new-hp ul {
    list-style: none;
}

.sidebar-new-hp ul li {
    padding: 5px 20px;
    cursor: pointer;
    position: relative;
}

.sidebar-new-hp ul li:hover {
    background-color: var(--secondary-color);
}

.sidebar-new-hp ul li .icon {
    font-size: 20px;
    margin-right: 15px;
}

.sidebar-new-hp.collapsed ul li .text {
    display: none;
}

.sidebar-new-hp ul li .dropdown-new-hp {
    display: none;
    list-style: none;
    margin-top: 5px;
    padding-left: 20px;
}

.sidebar-new-hp ul li.open .dropdown-new-hp {
    display: block;
}

.sidebar-new-hp ul li .arrow {
    position: absolute;
    right: 10px;
    transition: transform 0.3s;
    top: 10px;
}

.sidebar-new-hp ul li.open .arrow {
    transform: rotate(180deg);
}

.toggle-btn {
    background-color: #2c3e50;
    color: #ecf0f1;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.content {
    flex: 1;
    padding: 20px;
    background-color: #ecf0f1;
}
#wrapper.toggled span.text {
    display: none;
}

.print-list-hhp li{
    list-style: auto;
}

/* CB certifiactae red */
.text-red-600 {
    color: #dc2626;
}
.text-orange-500 {
    color: #f97316;
}
.font-bold {
    font-weight: bold;
}


/* 19-02-2025 */

button.btn.btn-edit, button.btn.btn-delete, a.btn.btn-download {
    padding: 1px 6px !important;
}
.icons-s-debar {
    width: 18px;
}



/* 20-02-2025 */

span.select2-selection.select2-selection--multiple.input-hp span.select2-search.select2-search--inline:after {
    right: 2%;
    content: "";
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
    cursor: pointer;
    z-index: 111;
}
span.select2-selection.select2-selection--multiple.input-hp textarea.select2-search__field {
    height: 30px !important;
}
span.select2-selection.select2-selection--multiple.input-hp textarea.select2-search__field::placeholder {
    color: #999;
}



/* Multi select overlap issue css */
/* Search box styling */
/* Common container styling */
.select2-container {
    width: 100% !important;
}

/* Common selection styling */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border: 1px solid #dee2e6 !important;
    padding: 4px 8px !important;
    min-height: 40px !important;
    background-color: #fff !important;
}

/* Single select specific */
.select2-container--default .select2-selection--single {
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
    line-height: 1.5 !important;
}

/* Multiple select specific */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 2px !important;
    padding: 4px 24px 4px 8px !important;
    margin: 3px !important;
    position: relative !important;
}

/* Remove button styling */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    position: relative !important;
    right: 0 !important;
    top: 0 !important;
    transform: translateY(0%) !important;
    border: none !important;
    background: none !important;
    color: #666 !important;
    padding: 0 4px !important;
    margin: 0 !important;
}
span.select2-selection.select2-selection--multiple.input-hp.select2-selection--clearable {
    height: auto !important;
}
/* Search field styling */
.select2-container--default .select2-search--inline .select2-search__field {
    margin-top: 3px !important;
    margin-left: 4px !important;
}

/* Dropdown styling */
.select2-dropdown {
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.select2-search--dropdown .select2-search__field {
    padding: 8px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 4px !important;
    margin-bottom: 5px !important;
}

.select2-results__option {
    padding: 6px 12px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f8f9fa !important;
    color: #333 !important;
}



/* 25-02-2025 */

table#containerForm tbody.table-body-hp th, table#containerForm tbody.table-body-hp td, table#containr_view tbody.table-body-hp th, table#containr_view tbody.table-body-hp td, table#vehicle_DataTable tbody.table-body-hp th, table#vehicle_DataTable tbody.table-body-hp td {
    text-wrap-mode: wrap !important;
}

/* login button click issue */
.btn-login {
    width: 100%;
    padding: 10px 15px;
    cursor: pointer;
    /* Your other styling properties */
}

button.select2-selection__clear {
    display: none;
}


/* eif preview style */
.file-upload-container {
    margin-bottom: 20px;
}

.custom-file-upload {
    position: relative;
    margin-bottom: 5px;
}

.file-input-eif {
    position: absolute;
    left: -9999px;
}

.file-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.choose-files {
    color: #333;
}

.file-counter {
    color: #6c757d;
}

.file-list {
    margin-top: 8px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.file-name {
    max-width: 75%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    color: #6c757d;
    font-size: 0.85em;
    margin-left: 10px;
}

/* .delete-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 0.85em;
}

.delete-btn:hover {
    background-color: #c82333;
} */

/* eif edit file preview css */
.file-upload-container {
    margin-bottom: 15px;
}

.custom-file-upload {
    position: relative;
    margin-bottom: 5px;
}

.file-input-eif {
    position: absolute;
    left: -9999px;
}

.file-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.choose-files {
    color: #333;
}

.file-counter {
    color: #6c757d;
}

.file-list-new {
    margin-top: 8px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
}

.file-name {
    max-width: 75%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    color: #6c757d;
    font-size: 0.85em;
    margin-left: 10px;
}

.file-list-new .btn-danger {
    padding: 3px 8px;
    font-size: 0.85rem;
}
