@import url("https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --paragraph-color: rgba(169, 169, 169, 1);
  --primary-color: rgba(13, 137, 251, 1);
  --secondary-color: rgba(0, 0, 0, 1);
  --primary-background: rgba(244, 244, 244, 1);
  --tertiary-color: hsla(209, 90%, 15%, 1);
  --commonwhite-color: rgba(255, 255, 255, 1);
  --searchbar-color: hsla(0, 0%, 74%, 1);
  --gray-color: #c9c9c9;
}

/* =================================================================
UTILITY CSS
================================================================== */
#pagination_container_top .pagination  .mt-4{ 
  margin-top: 0px !important;
}
body {
  font-family: "Urbanist", sans-serif;
  color: var(--secondary-color);
}

p {
  color: var(--paragraph-color);
  margin-bottom: 0;
  font-weight: 500;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0;
  font-weight: 600;
}

::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

/* .btn-outline-info {
  --bs-btn-color: #0FA5A4;
  --bs-btn-border-color: #0FA5A4;
  --bs-btn-hover-bg: #0FA5A4;
  --bs-btn-hover-border-color: #0FA5A4;
  --bs-btn-active-bg: #0FA5A4;
  --bs-btn-active-border-color: #0FA5A4;
  --bs-btn-disabled-color: #0FA5A4;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #0FA5A4;
}

.bg-success-subtle {
  background-color: #0b7a5347 !important;
}

.text-success {
  color: #0B7A53 !important;
} */

.text-danger {
  color: #df0000 !important;
}

.text-pending {
  color: rgba(180, 144, 0, 1);
}

/* =================================================================
FORMS
================================================================== */
.form-label {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: normal;
}

.form-control,
.form-select {
  border: 1px solid rgba(210, 210, 210, 1);
  border-radius: 5px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--secondary-color);
  font-weight: 500;
  text-overflow: ellipsis;
}

.mce-tinymce.mce-panel {
  border: 1px solid rgba(210, 210, 210, 1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
}

.form-control::placeholder {
  color: rgba(139, 139, 139, 1);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(210, 210, 210, 1);
  box-shadow: none;
}

.form-select {
  padding-right: 40px;
}

.select2-container {
  width: -webkit-fill-available !important;
}

.select2-container--default .select2-selection--multiple {
  border: 1px solid rgba(210, 210, 210, 1) !important;
  border-radius: 5px !important;
  padding: 10px 14px !important;
}

.select2-dropdown{
  margin-top: 5px;
  border-radius: 5px !important;
  padding: 5px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
      border: 0px !important;
}


.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--primary-color) !important;
  border: 1px solid var(--primary-color) !important;
  color: var(--commonwhite-color) !important;
  border-radius: 5px !important;
  margin-left: 0 !important;
  margin-right: 5px;
  margin-top: 0 !important;
  margin-bottom: 5px;
  font-size: 14px;
  padding: 5px 15px 5px 25px !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus{
  background-color:   #4eaaff !important;
}
.select2-container .select2-search--inline .select2-search__field{
  margin: 0px !important;
}

.select2-container .select2-search--inline .select2-search__field{
  height: 21px !important;
  font-size: 14px !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  border-right: 1px solid transparent !important;
  color: var(--commonwhite-color) !important;
  font-size: 16px !important;
  padding: 4px 4px !important;
  left: 4px !important;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.password-toggle svg {
  transition: stroke 0.2s ease;
}

.invalid-error {
  color: hsla(0, 100%, 39%, 1);
  font-size: 14px;
  margin-top: 5px;
  line-height: normal;
  display: block;
}
.form-check{
  margin-bottom: 0;
}
.form-check-input {
  border-color: rgba(210, 210, 210, 1);
  width: 18px;
  height: 18px;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-input:focus {
  box-shadow: none;
}

.pagination {
  gap: 12px;
}

.page-item {
  width: 38px;
  height: 38px;
}

.page-link,
.page-link:hover,
.page-link:focus {
  color: #333333;
  font-size: 15px;
  font-weight: 600;
  background-color: var(--commonwhite-color);
  border: 1.2px solid #f1f1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 5px;
  box-shadow: none;
}

.page-link.active,
.page-link.active:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--commonwhite-color);
}

.pagination .page-item:first-child .page-link.disabled {
  color: #b4b4b4;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  width: auto;
  border: 0;
  background-color: transparent;
  padding-left: 0px;
  padding-right: 0px;
}

.navtabs-dash {
  display: grid;
  overflow: hidden;
}

.nav-tabs.nav-pills {
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 100%;
}

.nav-tabs.nav-pills::-webkit-scrollbar {
  height: 3px;
}

.nav-tabs.nav-pills .nav-link {
  width: max-content;
}

/* =================================================================
BUTTONS
================================================================== */
.primary-btn {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: var(--commonwhite-color);
      font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
    padding: 10px 14px;
  transition: all 0.5s;
}

.primary-btn:hover {
  background-color: var(--commonwhite-color);
  color: var(--primary-color);
}

.secondary-btn {
  background-color: var(--commonwhite-color);
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  padding: 10px 14px;
  transition: all 0.5s;
}

.secondary-btn:hover {
  background-color: var(--secondary-color);
  color: var(--commonwhite-color);
}

.tertiary-btn {
  background-color: var(--commonwhite-color);
  border: 1px solid var(--gray-color);
  color: var(--secondary-color);
  font-size: 18px;
  font-weight: 600;
  border-radius: 10px;
  padding: 9px 25px;
  transition: all 0.5s;
}

.tertiary-btn:hover {
  background-color: var(--gray-color);
}

/* =================================================================
TABLE
================================================================== */

.table thead th,
.table thead td {
  background-color: var(--commonwhite-color);
  color: hsla(0, 0%, 67%, 1);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-bottom: 1px dashed hsla(0, 0%, 89%, 1);
}
.table thead th{
  vertical-align: middle;
  background-color: var(--table-header-bg);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.companysales-leaderboard-section .table thead th{
background-color: hsla(220, 27%, 95%, 1);
color: var(--secondary-color);
/* border-top: 1px solid hsla(0, 0%, 89%, 1); */
}
.table tbody tr td {
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  border-bottom: 1px dashed hsla(0, 0%, 89%, 1);
  vertical-align: middle;
}

.table tbody tr:nth-child(even) td {
  background-color: hsla(220, 23%, 97%, 1);
}

.table tbody tr:last-child td {
  border-bottom: 0px;
}
.table-responsive{
    max-height: 500px;
    overflow: scroll;
}
.table-responsive::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

.table-responsive::-webkit-scrollbar-track {
  background: var(--commonwhite-color);
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #0077B6;
  border-radius: 5px;
  border: 2px solid #0077B6;
}

/* =================================================================
RESPONSIVE
================================================================== */
@media screen and (max-width: 1440px) {

  .primary-btn,
  .secondary-btn,
  .tertiary-btn,
  .uploa-filebtn>label {
    padding: 7px 12px;
    font-size: 12px;
  }

  .form-label {
    margin-bottom: 10px;
  }

  .selected-text {
    font-size: 12px;
  }

  .form-control,
  .form-select {
    padding: 10px 14px;
    font-size: 14px;
  }

  .password-toggle svg {
    width: 14px;
    height: 14px;
  }

}

@media screen and (max-width: 992px) {

  .form-label,
  .table thead th,
  .table tbody tr td,
  .primary-btn,
  .secondary-btn,
  .tertiary-btn {
    font-size: 12px;
  }

  .table thead th {
    padding: 12px 12px;
  }

  .table tbody tr td {
    padding: 15px 12px;
  }
}

@media screen and (max-width: 575px) {

  p,
  .form-control,
  .form-label,
  .forgot-link,
  .form-select {
    font-size: 12px;
  }

  .primary-btn,
  .secondary-btn,
  .tertiary-btn {
    padding: 9px 14px;
  }

  .page-item {
    width: 29px;
    height: 29px;
  }

  .page-link {
    font-size: 12px;
  }

  .pagination {
    gap: 8px;
  }

  .form-label {
    margin-bottom: 10px;
  }
}

