.orderable > a:hover {
  text-decoration: none;
}

.tableExports {
  background-color: rgba(34, 106, 71, 1);
  border: 2px solid rgba(34, 106, 71, 1);
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 1);
  line-height: 32px;
  padding-left: 15px;
  padding-right: 15px;
  position: absolute;
  right: 5px;
  margin-top: 5px;
}

.table-success > tr > th:first-child {
  display: table-cell;
}

.table-input {
  display: block;
  width: 100%;
  height: calc(1.5em + .75rem + 2px);
  padding: 0;
  margin: 0;
  border: none;
  background-color: rgba(0, 0, 0, 0);
  text-align: center;
}

.notifications .dropdown-menu.show {
  min-width: 300px !important;
}

.dropdown-item {
  background-color: #e5e4e4 !important;
}

.dropdown-item:hover {
  background-color: #f4f0f0 !important;
}

.orderable {
  display: table-cell;
  vertical-align: middle;
  border: 2px solid rgb(53 120 89);
}

.text-wrap {
  cursor: pointer;
}

.orderable:hover {
  background-color: rgb(53 120 89);
}

.table-content {
  height: 100vh;
  overflow-y: auto;
}

/* Modal form select2 styling */
#updatePlacement .select2-container {
  width: 100% !important;
}

.modal {
  z-index: 1051 !important;
}

#mystyle1 {
  font-size: 16px !important;
}

/* Dropdown position for accounts base based templates */
#login_drop {
  position: absolute;
  right: 0;
}

/* make dropdown visible, by pushing below content lower */
.mrt-sixty {
  margin-top: 60px;
}

/* Design overflow */
/* body {
  scrollbar-width: thin;
  scrollbar-color: rgb(53 120 89) rgb(10, 119, 19);
} */
/*
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  border-radius: 5px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: rgb(53 120 89);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(10, 119, 19);
} */

/* Empty queryset text in includes */
td[colspan="32"],
td[colspan="16"] {
  font-size: 1.2em;
}

/* Hide the spinner in Chrome, Edge, Safari */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide the spinner in Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/* Styling main block */

/* map button style fixes */

#full_map_caller {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#full_map_caller .text {
  white-space: nowrap;
}

.table thead tr th {
  vertical-align: middle;
  text-align: center;
  color: white;
}

.table-success td {
  color: white;
}

td {
  font-weight: 500 !important;
}

td#copy_me {
  position: relative;
}

.table > :not(:first-child) {
  border-color: gray !important;
}

/* ============ desktop view ============ */
.submenu.dropdown-menu {
  left: 100%;
  top: -20%;
}


.farmer-type {
  border: 1px solid;
  display: inline;
  border-radius: 5px;
  position: absolute;
  top: 30px;
}

th.orderable a {
  color: white !important;
}

th.orderable a:hover {
  color: white !important;
}

.dropdown-menu.sub_activity {
  width: 318px;
  padding: 10px;
  overflow-y: auto;
  height: 280px;
}

.custom-sidebar-icon {
  width: 24px;
  height: auto;
}

.login-tab-out.registration-review {
  max-width: none !important;
}

.simple-search form {
  display: flex;
}

.role-choice {
  padding: 10px 40px;
  background: aliceblue;
  border-radius: 5px;
  border: 1px solid #e3ebd3;
  display: flex;
  /* justify-content: center; */
  align-items: center;
}

.role-choice-form:last-child {
  margin-bottom: 30px;
}

.role-choice label {
  width: 100%;
}


.choose-role .btn {
  bottom: 10px;
  right: 30px;
}

.role-choice .form-check-input {
  padding: 10px;
  margin-right: 10px;
  margin-bottom: 3px;
}

@media all and (min-width: 992px) {
  .dropdown-menu li {
    position: relative;
  }

  .nav-item .submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
  }

  .nav-item .submenu-left {
    right: 100%;
    left: auto;
  }

  .dropdown-menu > li:hover {
    background-color: #f1f1f14d;
  }

  .dropdown-menu > li:hover > .submenu {
    display: block;
  }
}

/* Modal styling */
.modal-dialog {
  background-color: white;
  border-radius: 10px;
}

/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 991px) {
  .dropdown-menu .dropdown-menu {
    margin-left: 0.7rem;
    margin-right: 0.7rem;
    margin-bottom: .5rem;
  }
}

/* ============ small devices .end// ============ */

/* Do not let geojson map to float over content */
#id_location_div_map {
  float: none !important;
}


.additional_p_input {
  width: 100%;
  font-size: 16px !important;
}

.tableExports.top-0 {
  top: 0 !important;
  position: absolute !important;
}

/* custom design for toast */
.toast {
  background-color: white !important;
  border: 2px solid gray;
}

.toast .text-error {
  color: red !important;
}

.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1000;
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.errorlist {
  color: red;
}


.billing-form-title {
  padding-left: 20px;
  padding-top: 20px;
}

.card-title {
  padding-left: 20px;
  padding-top: 20px;
  padding-right: 5px;
  text-align: left;
}


billing-payment-info {
  padding-left: 20px;
  padding-top: 20px;
  padding-right: 5px;
  text-align: left;
}

/* .scroll-btn {
  padding-right: 1px;
} */

/* .scroll-btn {
  padding-left: 1px;
} */

.cards-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 2px 0;
  width: 100%; /* Ensure the container width is set */
}

.cards-container::-webkit-scrollbar {
  display: none;
}

/* .scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
  display: none;
} */

.card:hover .scroll-btn {
  display: block; /* Show scroll buttons when hovering over the card */
}

.left-btn {
  left: 0;
}

.right-btn {
  right: 0;
}

.card-body:hover .scroll-btn {
  display: block;
}

.bank-card-body {
  background-color: #f7f7f7;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: inline-block;
  position: relative;
  width: auto;
}

.bank-add-card-body {
  background-color: #f7f7f7;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 200px;
  height: 90px;
  cursor: pointer;
}

.card-user {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  display: block;
}

.card-number {
  font-size: 15px;
  color: #555;
  margin-top: 10px;
  letter-spacing: 3px;
}

.card-type {
  font-size: 15px;
  color: #666;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.close-container {
  position: absolute;
  top: 0;
  right: 0;
}

span.close {
  cursor: pointer;
  padding-right: 10px;
  max-width: max-content
}

.credit-card {
  flex: 0 0 auto;
  margin-right: 5px;
}

.credit-card:last-child {
  margin-right: 0;
}

.payment-method.selected .balans-pay-in {
  border: 2px solid green;
}

.balans-list {
  padding-left: 20px;
}

.balans-list li {
  list-style: none;
  margin-bottom: 5px;
}

.balans-pay a {
  text-decoration: none;
}

.balans-pay-in {
  padding: 15px;
  border: 1px solid #80808038;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 80%;
}

.balans-pay-in img {
  width: 120px;
  height: 30px;
  object-fit: contain; /* Ensure the image fits within the container */
}

.history-icon {
  height: 50px;
}

.history-icon img {
  max-height: 100%;
}

.pay-history {
  border: 1px solid #80808038;
  border-radius: 10px;
}

@media (min-width: 1400px) {
  .col-mn-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
}

#company_pay .modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 50px;
}

.company_pay .modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
}

span.close {
  color: #aaa;
  float: right;
  /* font-size: 28px; */
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


/* Add this CSS in your 'custom.css' or in the head section */
.loader {
  border: 8px solid #f3f3f3; /* Light grey */
  border-top: 8px solid #198754; /* Blue */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none; /* Hidden by default */
  z-index: 9999;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent background */
  align-items: center;
  justify-content: center;
  z-index: 1000; /* ensure it is on top of other elements */
  display: none; /* hidden by default */
}

#progress-container {
  width: 15%;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

#progress-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#progress-bar-container {
  width: 80%;
  background-color: #f3f3f3;
  border-radius: 10px;
  overflow: hidden;
  margin-right: 10px; /* space between progress bar and percentage text */
  height: 20px;
  position: relative;
}

#progress-bar {
  height: 100%;
  width: 0;
  background-color: green;
  border-radius: 10px 0 0 10px; /* round only the left side */
  transition: width 0.3s ease;
}

#progress-percentage {
  font-size: 16px;
  font-weight: bold;
  min-width: 40px; /* ensure a minimum width for alignment */
}

.uzcard_payment_button_el img {
  width: 120px;
  height: 30px;
  object-fit: contain; /* Ensure the image fits within the container */
}


.uzcard_payment_button_el {
  background-image: url('https://docs.click.uz/wp-content/themes/click_help/assets/images/logo.png') !important; /* Add your logo image */
  background-size: contain !important; /* Ensure the logo fits within the button */
  background-repeat: no-repeat !important; /* Prevent the logo from repeating */
  background-position: center !important; /* Center the logo */

  /* Override inline styles */
  background-color: #fff !important; /* Change button background color */
  border: 1px solid #80808038 !important; /* Change button border */
  border-radius: 10px !important; /* Add rounded corners */
  padding: 15px !important; /* Adjust padding */
  cursor: pointer !important; /* Change cursor to pointer */

  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  height: 59px !important;
  width: 80% !important;
}


/* styles.css */
.hidden {
  display: none;
}

#error-box {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  z-index: 1000;
}

#error-box p {
  margin: 0;
  padding: 0;
}

#close-button {
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #f5c6cb;
  color: #721c24;
  border: none;
  cursor: pointer;
  border-radius: 3px;
}

#close-button:hover {
  background-color: #f1b0b7;
}


.modalError {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1051 !important; /* Sit on top */
  left: 30%;
  top: 30%;
  width: 40%; /* Full width */
  height: 40%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-content-error {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}


.tooltip {
  visibility: hidden;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 3%;
  left: 35%;
  margin-left: -30px;
  opacity: 0;
  transition: opacity 0.3s;
}

/* Styling not active role */

.activeRoleFalse {
  color: red !important;
  font-weight: bold;
}


/* end of not active styling */

/* Show agro logo while printing invoice */
@media print {
  #invoice-print-logo {
    display: block !important;
    background-color: #0c6c2a;
  }
}
/*  */

.extra_css{
  display: flex;
  text-wrap: nowrap;
  align-items: center;
  gap: 1rem;
}

.bil-info-container, .bil-user-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    max-width: 800px;
    width: 100%;
}
.bil-user-role {
    flex: 0 0 30%;
    flex-basis: 30%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #555;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 600;
}

.bil-user-name {
    flex-basis: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #555;
    font-size: 14px;
    flex: 1;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bil-alert-container {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
}

.bil-box-header {
        font-size: 15px;
        color: #333;
        text-align: left;
        margin-bottom: 12px;
        font-weight: 900;
}

.bil-info-value {
    text-align: right;
    color: #555;
    flex-grow: 1;
}

.bil-custom-alert {
  background-color: #f3f6f4; /* Change this to your desired color */
  width: 80%; /* Set the desired width */
  height: 35px; /* Set the desired height */
  padding: 10px; /* Set the desired padding */
  margin: 5px 0; /* Set the desired margin */
}

.bil-user-info {
    display: flex;
    align-items: center;
    width: 60%; /* Adjust this based on your layout needs */
}

/* @media components */


@media (max-width: 512px) {
	.main-title span {
		font-size: 14px !important;
		line-height: 20px !important;
		text-align: center;
	}

	a {
		font-size: 12px !important;
		/* text-align: center; */
	}

	table {
		font-size: 12px;
	}
	td {
		padding: None !important;
	}

	.table>:not(caption)>*>* {
		padding: None !important;
	}

	.card-body {
		padding: None !important;
	}

}



/* Modal Overlay */
.polis-payment-modal-overlay {
    display: none; /* Hidden by default */
    position: fixed; /* Sit on top of the screen */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
    z-index: 1000; /* Sit on top of other elements */
    overflow-y: auto; /* Enable scroll for smaller screens */
}

/* Modal Content */
.polis-payment-modal-content {
    background-color: white;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border-radius: 8px;
    width: 80%; /* Responsive width */
    max-width: 800px; /* Limit the width for larger screens */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease-in-out; /* Animation effect */
}

/* Input Fields - Align Right and Uniform Size */
.polis-payment-modal-content div {
    margin-bottom: 15px; /* Add space between fields */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.polis-payment-modal-content label {
    margin-right: 10px;
    flex: 1;
    text-align: left;
}

.polis-payment-modal-content input {
    flex: 2;
    width: 100%; /* Make inputs take full width */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Submit Button */
.polis-payment-modal-content .submit-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
}

/* Close Button */
.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Animation for Modal */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .polis-payment-modal-content {
        width: 95%; /* Almost full width on smaller screens */
    }
}

@media (max-width: 400px) {
    .polis-payment-modal-content {
        width: 100%; /* Full width on very small screens */
        margin-top: 25%; /* Adjust margin for extra small screens */
    }
}


.add_roles_modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.add_roles_modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

/* Close Button */
.add_roles_modal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.add_roles_modal .close:hover,
.add_roles_modal .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Header */
.add_roles_modal h4 {
    margin-top: 0;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

/* Table Styling */
.add_roles_modal table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.add_roles_modal table th,
.add_roles_modal table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.add_roles_modal table th {
    background-color: #f2f2f2;
    color: #333;
    font-weight: bold;
}

/* Submit Button */
.add_roles_modal .btn-primary {
    display: block;
    width: 100%;
    background-color: #006400;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.add_roles_modal .btn-primary:hover {
    background-color: #008000;
}

#scrollToTop {
  display: none;
  cursor: pointer;
  position: fixed;
  text-align: center;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgb(34, 106, 71);
  color: white;
  border: 2px white solid;
}

#todayDate {
    background: #fdb540;
    border-radius: 5px;
    text-align: center;
    padding: 0.5rem;
    margin-right: 1rem;
}

/* TODO Yangi scrol top css */

#scroll-top {
    width: 100%;
    overflow-x: auto;
    height: 20px;
}

#element {
    height: 20px;
    overflow-x: auto;
}

.scroll-bottom {
    margin-top: 5px;
    height: 20px;
    overflow-x: auto;
}

.scroll-top::-webkit-scrollbar,
.scroll-bottom::-webkit-scrollbar {
    height: 8px;
}

.scroll-top::-webkit-scrollbar-thumb,
.scroll-bottom::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 5px;
}

.scroll-top::-webkit-scrollbar-track,
.scroll-bottom::-webkit-scrollbar-track {
    background: #ddd;
}
