/* new login */

input:-webkit-autofill {
  background-color: transparent;
}

input::placeholder {
  color: #A5AEBD !important;
}

.search {
  color: #394d6f !important;
}

.search::placeholder {
  color: #A5AEBD !important;
}

.wrapper {
  overflow: auto;
  height: auto;
  width: 100%;
  background: white;
  position: relative !important;
  top: 0px !important;
}

/* .background-login {
    background-image: url("../../assets/img/background.svg");
    background-size: cover;
    display: flex;
    justify-content: center;
    width: 100%;
    height: inherit;
} */

.login-image {
  margin-top: 25px;
  margin-bottom: 30px;
  height: 160px;
}

/* -------colors-------- */

.color-gray {
  color: #C9CED7 !important;
}

.color-black {
  color: #394d6f !important;
}

.color-black5 {
  color: #A5AEBD !important;
}

.color-black10 {
  color: #c4c4c4 !important;
}

.color-green {
  color: #20bf6b !important;
}

.color-blue {
  color: #2d98da !important;
}

.color-red {
  color: #EB3B5A !important;
}

.color-black15 {
  color: #818DA3 !important;
}

.color-blue5 {
  color: #0F7AAE !important;
}

/* -------end colors-------- */

/* -------typography-------- */

.heading1 {
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 41px !important;
}

.heading2 {
  font-weight: 700 !important;
  font-size: 25px !important;
  line-height: 28px !important;
}

.heading3 {
  font-weight: 600 !important;
  font-size: 18px !important;
  line-height: 22px !important;
}

.heading4 {
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
}

.margin-zero {
  margin: 0 !important;
}

.body1 {
  font-size: 16px !important;
  line-height: 20px !important;
}

.body2 {
  font-size: 14px !important;
  line-height: 18px !important;
}

.button1 {
  font-size: 18px !important;
  line-height: 22px !important;
}

.button2 {
  font-size: 14px !important;
  line-height: 18px !important;
  font-weight: 800 !important;
}

.small-text1 {
  font-size: 12px !important;
  line-height: 12px !important;
}

.small-text2 {
  font-size: 11px !important;
  line-height: 11px !important;
}

.caption1 {
  font-weight: 900 !important;
  font-size: 14px !important;
  line-height: 14px !important;
  /* height: 5vh; */
  /* display: flex !important;
  margin-top: 40px !important; */
}

/* -------end typography-------- */

/* -------component-------- */

.wrapper {
  overflow: auto;
  height: 100%;
  width: 100%;
  background: var(--theme-bg-default, white);
}

.no-background {
  /* background-image: url('../../assets/img/background.svg'); */
  /* background-size: cover; */
  background: var(--theme-bg-default, white);
  display: flex;
  justify-content: center;
  width: 100%;
  height: inherit;
}

.background-login {
  background-color: #F5F7F8;
  background-image: url('../../assets/img/login-background.svg?v=20260601');
  background-size: cover;
  display: flex;
  justify-content: center;
  width: 100%;
  height: inherit;
  position: relative;
}

.background-login-zahir-7 {
  background-image: url('../../assets/img/svg/bg-login-zahir-7.svg');
  background-size: cover;
  display: flex;
  justify-content: center;
  width: 100%;
  height: inherit;
  position: relative;
}

.login-image {
  margin-top: 25px;
  margin-bottom: 30px;
  height: 160px;
}

.link {
  cursor: pointer !important;
  text-decoration: none !important;
}

.link:hover {
  color: #05567b !important;
}

.upload-image {
  background-color: #f4f7f9;
  border: dashed 2px #8fa4af;
  border-radius: 200px;
  overflow: hidden;
  width: 250px;
  height: 250px;
  text-align: center;
  position: relative;
}

.upload-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.wrapper-login {
  margin-top: 100px;
  max-width: 450px;
  background: #ffffff;
  padding: 50px 100px;
  border-radius: 10px;
  box-sizing: initial;
}

.wrapper-login-complete-profile {
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.wrapper-login-create-company {
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.wrapper-login-create-company #field-name {
  color: #394D6F !important;
  font-family: Muli, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 20px !important;
}

.wrapper-login-create-company #field-name::placeholder {
  color: #9AACB7 !important;
  font-family: Muli, sans-serif !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 20px !important;
  opacity: 1 !important;
}

html.dark .login-shell--dark .wrapper-login-create-company #field-name,
.dark .login-shell--dark .wrapper-login-create-company #field-name {
  color: var(--theme-text-primary) !important;
}

html.dark .login-shell--dark .wrapper-login-create-company #field-name::placeholder,
.dark .login-shell--dark .wrapper-login-create-company #field-name::placeholder {
  color: var(--theme-text-secondary) !important;
}

.full-page-company {
  margin-top: 0 !important;
  width: 100% !important;
}

.wrapper-company {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  background: var(--theme-bg-default);
  padding: 0 48px;
  border-radius: 0;
  min-height: calc(100vh - 56px);
  box-sizing: border-box;
}

.card-dashboard {
  background: var(--theme-bg-paper, white);
  box-sizing: border-box;
  border-radius: 8px;
}

.card-dashboard-placeholder {
  border: none;
  box-sizing: border-box;
  border-radius: 8px;
}

.paper-dashboard {
  background: var(--theme-bg-paper, white);
  box-sizing: border-box;
  border-radius: 8px;
}

.divider {
  height: 1px;
  display: block;
  background: #d1d8e0;
}

@media only screen and (max-width: 1500px) {
  .wrapper-login {
    margin-top: 50px;
    max-width: 400px;
    padding: 50px;
  }
  .wrapper-login-create-company {
    max-height: calc(100vh - 80px);
  }
  .wrapper-company {
    margin-top: 0;
    padding: 24px 32px;
    width: 100%;
    max-width: 1200px;
  }
}

@media only screen and (max-width: 1000px) {
  .wrapper-company {
    margin-top: 0px;
    padding: 10px;
    border-radius: 0;
  }
}

@media only screen and (max-width: 550px) {
  .wrapper-login {
    margin-top: 0;
    max-width: 400px;
    padding: 40px 20px;
    border-radius: 0;
  }
  .wrapper-login-complete-profile {
    max-height: 100vh;
  }
  .wrapper-login-create-company {
    max-height: 100vh;
  }
  .wrapper-company {
    margin-top: 0px;
    padding: 10px;
    border-radius: 0;
  }
}

/* placeholder */

.show-loading-animation {
  animation: react-placeholder-pulse 1.5s infinite;
}

@keyframes react-placeholder-pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

/* spinner */

.la-ball-spin-fade-rotating, .la-ball-spin-fade-rotating>div {
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.la-ball-spin-fade-rotating {
  display: block;
  font-size: 0;
  color: #fff;
}

.la-ball-spin-fade-rotating>div {
  display: inline-block;
  float: none;
  background-color: currentColor;
  border: 0 solid currentColor;
}

.la-ball-spin-fade-rotating {
  width: 32px;
  height: 32px;
  -webkit-animation: ball-spin-fade-rotate 6s infinite linear;
  -moz-animation: ball-spin-fade-rotate 6s infinite linear;
  -o-animation: ball-spin-fade-rotate 6s infinite linear;
  animation: ball-spin-fade-rotate 6s infinite linear;
}

.la-ball-spin-fade-rotating>div {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  margin-left: -4px;
  border-radius: 100%;
  -webkit-animation: ball-spin-fade 1s infinite linear;
  -moz-animation: ball-spin-fade 1s infinite linear;
  -o-animation: ball-spin-fade 1s infinite linear;
  animation: ball-spin-fade 1s infinite linear;
}

.la-ball-spin-fade-rotating>div:nth-child(1) {
  top: 5%;
  left: 50%;
  -webkit-animation-delay: -1.125s;
  -moz-animation-delay: -1.125s;
  -o-animation-delay: -1.125s;
  animation-delay: -1.125s;
}

.la-ball-spin-fade-rotating>div:nth-child(2) {
  top: 18.1801948466%;
  left: 81.8198051534%;
  -webkit-animation-delay: -1.25s;
  -moz-animation-delay: -1.25s;
  -o-animation-delay: -1.25s;
  animation-delay: -1.25s;
}

.la-ball-spin-fade-rotating>div:nth-child(3) {
  top: 50%;
  left: 95%;
  -webkit-animation-delay: -1.375s;
  -moz-animation-delay: -1.375s;
  -o-animation-delay: -1.375s;
  animation-delay: -1.375s;
}

.la-ball-spin-fade-rotating>div:nth-child(4) {
  top: 81.8198051534%;
  left: 81.8198051534%;
  -webkit-animation-delay: -1.5s;
  -moz-animation-delay: -1.5s;
  -o-animation-delay: -1.5s;
  animation-delay: -1.5s;
}

.la-ball-spin-fade-rotating>div:nth-child(5) {
  top: 94.9999999966%;
  left: 50.0000000005%;
  -webkit-animation-delay: -1.625s;
  -moz-animation-delay: -1.625s;
  -o-animation-delay: -1.625s;
  animation-delay: -1.625s;
}

.la-ball-spin-fade-rotating>div:nth-child(6) {
  top: 81.8198046966%;
  left: 18.1801949248%;
  -webkit-animation-delay: -1.75s;
  -moz-animation-delay: -1.75s;
  -o-animation-delay: -1.75s;
  animation-delay: -1.75s;
}

.la-ball-spin-fade-rotating>div:nth-child(7) {
  top: 49.9999750815%;
  left: 5.0000051215%;
  -webkit-animation-delay: -1.875s;
  -moz-animation-delay: -1.875s;
  -o-animation-delay: -1.875s;
  animation-delay: -1.875s;
}

.la-ball-spin-fade-rotating>div:nth-child(8) {
  top: 18.179464974%;
  left: 18.1803700518%;
  -webkit-animation-delay: -2s;
  -moz-animation-delay: -2s;
  -o-animation-delay: -2s;
  animation-delay: -2s;
}

.la-ball-spin-fade-rotating.la-3x {
  width: 96px;
  height: 96px;
}

.la-ball-spin-fade-rotating.la-3x>div {
  width: 24px;
  height: 24px;
  margin-top: -12px;
  margin-left: -12px;
}

/*
* Animations
*/

@-webkit-keyframes ball-spin-fade-rotate {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes ball-spin-fade-rotate {
  100% {
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-o-keyframes ball-spin-fade-rotate {
  100% {
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes ball-spin-fade-rotate {
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-webkit-keyframes ball-spin-fade {
  0%, 100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    opacity: 0.25;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }
}

@-moz-keyframes ball-spin-fade {
  0%, 100% {
    opacity: 1;
    -moz-transform: scale(1);
    transform: scale(1);
  }
  50% {
    opacity: 0.25;
    -moz-transform: scale(0.5);
    transform: scale(0.5);
  }
}

@-o-keyframes ball-spin-fade {
  0%, 100% {
    opacity: 1;
    -o-transform: scale(1);
    transform: scale(1);
  }
  50% {
    opacity: 0.25;
    -o-transform: scale(0.5);
    transform: scale(0.5);
  }
}

@keyframes ball-spin-fade {
  0%, 100% {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  50% {
    opacity: 0.25;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
  }
}

.margin-top-4 {
  margin-top: 4px !important;
}

.margin-top-8 {
  margin-top: 8px !important;
}

.margin-top-16 {
  margin-top: 16px !important;
}

.margin-top-24 {
  margin-top: 24px !important;
}

.margin-top-36 {
  margin-top: 36px !important;
}

.margin-top-32 {
  margin-top: 32px !important;
}

.margin-top-42 {
  margin-top: 42px !important;
}

.margin-top-64 {
  margin-top: 64px !important;
}

.menu-item-setting-option {
  height: auto !important;
}

/*============== setting scroll bar =============*/

#menu-list-grow ::-webkit-scrollbar {
  width: 4px !important;
}

#menu-list-grow ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #f5f7f8 !important;
  border-radius: 50px !important;
}

#menu-list-grow ::-webkit-scrollbar-thumb {
  background: #d1d8e0;
  border-radius: 50px !important;
}

#menu-list-grow ::-webkit-scrollbar-thumb:hover {
  background: #778ca3 !important;
}

.margin-bottom-report {
  margin-bottom: 50px !important;
}

.text-center-report {
  text-align: center !important;
}

.table {
  color: black;
}

.pagination {
  display: flex;
  margin-top: 20px;
}

.arrow-left {
  padding-left: 10px;
  padding-right: 20px;
}

.arrow-right {
  padding-left: 20px;
}

.first-number {
  margin-right: 20px;
}

.last-number {
  margin-left: 20px;
}

.card-outlined-zahir-thema {
  border: 1px solid #D1D8E0 !important;
  border-radius: 8px !important;
  padding: 32px 32px 32px 32px;
  /* margin: 0 16px 0 8px !important; */
  position: relative;
}

.subscribe-edition-button {
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease !important;
}

.subscribe-edition-button:hover:not(:disabled) {
  background-color: #20BF68 !important;
  border-color: #20BF68 !important;
  box-shadow: 0 14px 28px rgba(32, 191, 104, 0.24) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
}

.subscribe-edition-button-selected:hover:not(:disabled) {
  background-color: #1CAF5F !important;
  box-shadow: 0 16px 32px rgba(32, 191, 104, 0.34) !important;
}

.subscribe-edition-card-skeleton {
  border-color: #DDE6EF !important;
  box-shadow: none !important;
  overflow: hidden;
}

.subscribe-card-skeleton-illustration,
.subscribe-card-skeleton-line,
.subscribe-card-skeleton-button {
  animation: subscribe-benefit-skeleton-pulse 1.1s ease-in-out infinite;
  background: linear-gradient(90deg, #EEF2F5 0%, #F8FAFC 48%, #EEF2F5 100%);
  border-radius: 6px;
}

.subscribe-card-skeleton-illustration {
  height: 220px;
  max-width: 280px;
  width: 68%;
}

.subscribe-card-skeleton-line {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.subscribe-card-skeleton-title {
  height: 34px;
  max-width: 270px;
  width: 64%;
}

.subscribe-card-skeleton-tagline {
  height: 18px;
  margin-top: 13px;
  max-width: 310px;
  width: 72%;
}

.subscribe-card-skeleton-price {
  height: 42px;
  margin-top: 28px;
  max-width: 360px;
  width: 82%;
}

.subscribe-card-skeleton-period {
  height: 16px;
  margin-top: 10px;
  max-width: 330px;
  width: 76%;
}

.subscribe-card-skeleton-button {
  height: 44px;
  width: 100%;
}

.subscribe-benefit-skeleton {
  animation: subscribe-benefit-skeleton-pulse 1.1s ease-in-out infinite;
  background: linear-gradient(90deg, #EEF2F5 0%, #F7FAFC 48%, #EEF2F5 100%);
  border-radius: 4px;
  display: inline-block;
  height: 14px;
  max-width: 220px;
  width: 78%;
}

@keyframes subscribe-benefit-skeleton-pulse {
  0% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.55;
  }
}

.wrapper-subscribe {
  overflow-y: scroll !important;
}

.form-tab {
  display: flex;
  background: #EEF2F5;
  border-radius: 8px;
  width: 100%;
  overflow: hidden;
}

.form-tab button {
  min-width: 0;
  line-height: 1.22;
  padding-left: 6px;
  padding-right: 6px;
}

.form-tab button span {
  display: block;
  max-width: 100%;
  overflow-wrap: normal;
  text-align: center;
  white-space: normal;
  word-break: normal;
}

.subscribe-payment-panel .form-tab {
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
}

.subscribe-package-payment-section-start,
.subscribe-package-payment-section-start ~ * {
  display: none !important;
}

.subscribe-payment-form-card .form-tab {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
}

.subscribe-payment-form-card .non-active {
  background: transparent !important;
  color: #BAC7D8 !important;
}

.subscribe-payment-form-card .non-active:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #F8FAFC !important;
}

.subscribe-payment-form-card .active-tabs {
  background: #2D98DA !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 18px rgba(45, 152, 218, 0.24);
  color: #FFFFFF !important;
}

.subscribe-payment-form-card .color-black,
.subscribe-payment-form-card .color-black15,
.subscribe-payment-form-card .small-text,
.subscribe-payment-form-card .small-text1,
.subscribe-payment-form-card label {
  color: #E2E8F0 !important;
}


.subscribe-payment-form-card .MuiInputLabel-root {
  color: #E2E8F0 !important;
  font-weight: 700 !important;
  background: transparent !important;
}

.subscribe-payment-form-card [class*="label"],
.subscribe-payment-form-card [class*="Label"] {
  color: #E2E8F0 !important;
  font-weight: 700 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.subscribe-payment-form-card .color-red {
  color: #F87171 !important;
}

.subscribe-payment-form-card .MuiInputBase-root,
.subscribe-payment-form-card .MuiOutlinedInput-root,
.subscribe-payment-form-card input,
.subscribe-payment-form-card textarea {
  background-color: #0F172A !important;
  color: #F8FAFC !important;
}

.subscribe-payment-form-card .MuiOutlinedInput-notchedOutline,
.subscribe-payment-form-card fieldset {
  border-color: rgba(148, 163, 184, 0.42) !important;
}

.subscribe-payment-form-card .Mui-focused .MuiOutlinedInput-notchedOutline,
.subscribe-payment-form-card .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline,
.subscribe-payment-form-card .MuiOutlinedInput-root.Mui-focused fieldset {
  border-color: #2D98DA !important;
}

.subscribe-payment-form-card input::placeholder,
.subscribe-payment-form-card textarea::placeholder {
  color: #94A3B8 !important;
  opacity: 1 !important;
}

.subscribe-payment-form-card [class*="placeholder"],
.subscribe-payment-form-card [class*="Placeholder"],
.subscribe-payment-form-card [class*="singleValue"],
.subscribe-payment-form-card [class*="SingleValue"],
.subscribe-payment-form-card [class*="valueContainer"],
.subscribe-payment-form-card [class*="ValueContainer"] {
  color: #CBD5E1 !important;
}

.subscribe-payment-form-card div[class*="control"],
.subscribe-payment-form-card div[class*="Control"] {
  background-color: #0F172A !important;
  border-color: rgba(148, 163, 184, 0.42) !important;
}

.subscribe-payment-form-card div[class*="control"]:hover,
.subscribe-payment-form-card div[class*="Control"]:hover {
  border-color: rgba(45, 152, 218, 0.72) !important;
}

.subscribe-payment-form-card svg {
  color: #94A3B8;
}

.subscribe-payment-panel .margin-top-8 {
  margin-top: 0 !important;
}

.subscribe-payment-panel .margin-top-16 {
  margin-top: 0 !important;
}

.subscribe-payment-panel .margin-top-24 {
  margin-top: 8px !important;
}

.subscribe-payment-panel .margin-top-32 {
  margin-top: 16px !important;
}

.subscribe-payment-panel .subscribe-credit-card-pay-button {
  margin-top: 28px !important;
}

.subscribe-payment-panel .subscribe-pay-button:disabled,
.subscribe-payment-panel .subscribe-pay-button.Mui-disabled,
.subscribe-payment-panel .subscribe-pay-button:disabled span,
.subscribe-payment-panel .subscribe-pay-button.Mui-disabled span {
  color: #94A3B8 !important;
}

.subscribe-payment-panel .margin-top-64 {
  margin-top: 4px !important;
}

.subscribe-payment-panel .form-tab button {
  min-height: 42px !important;
  padding: 6px 8px;
}

.subscribe-payment-panel .form-tab button span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 600px) {
  .subscribe-payment-panel .subscribe-document-number-field {
    flex-basis: calc(100% - 150px) !important;
    flex-grow: 1 !important;
    max-width: calc(100% - 150px) !important;
  }

  .subscribe-payment-panel .subscribe-document-upload-field {
    flex-basis: 150px !important;
    max-width: 150px !important;
    padding-left: 12px !important;
  }
}

.subscribe-payment-panel .subscribe-document-upload-field button {
  background-color: rgba(15, 23, 42, 0.92) !important;
  border-color: rgba(32, 191, 107, 0.72) !important;
  color: #44D483 !important;
  min-height: 46px !important;
  padding-left: 10px;
  padding-right: 10px;
}

.subscribe-payment-panel .subscribe-document-upload-field button:hover:not(:disabled) {
  background-color: rgba(32, 191, 107, 0.14) !important;
  border-color: #20BF6B !important;
  color: #7BE5AA !important;
}

.subscribe-payment-panel .subscribe-document-upload-field button svg {
  color: #44D483 !important;
}

.subscribe-payment-panel .subscribe-document-upload-field button:hover:not(:disabled) svg {
  color: #7BE5AA !important;
}

.subscribe-payment-panel .subscribe-document-file-name {
  max-width: calc(100% - 48px);
  overflow: hidden;
}

.subscribe-payment-panel .subscribe-document-file-name p,
.subscribe-payment-panel .subscribe-document-file-name span {
  color: #E2E8F0 !important;
  margin-left: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subscribe-payment-panel .MuiInputBase-root,
.subscribe-payment-panel .MuiOutlinedInput-root {
  background-color: #FFFFFF !important;
}

.subscribe-payment-panel input,
.subscribe-payment-panel textarea {
  background-color: #FFFFFF !important;
}

.subscribe-payment-panel .subscribe-payment-form-card .MuiInputBase-root,
.subscribe-payment-panel .subscribe-payment-form-card .MuiOutlinedInput-root,
.subscribe-payment-panel .subscribe-payment-form-card input,
.subscribe-payment-panel .subscribe-payment-form-card textarea,
.subscribe-payment-panel .subscribe-payment-form-card div[class*="control"],
.subscribe-payment-panel .subscribe-payment-form-card div[class*="Control"] {
  background-color: #0F172A !important;
  color: #F8FAFC !important;
}

.subscribe-payment-panel .subscribe-payment-form-card .MuiOutlinedInput-notchedOutline,
.subscribe-payment-panel .subscribe-payment-form-card fieldset,
.subscribe-payment-panel .subscribe-payment-form-card div[class*="control"],
.subscribe-payment-panel .subscribe-payment-form-card div[class*="Control"] {
  border-color: rgba(45, 152, 218, 0.72) !important;
}

.subscribe-payment-panel .subscribe-payment-form-card input::placeholder,
.subscribe-payment-panel .subscribe-payment-form-card textarea::placeholder,
.subscribe-payment-panel .subscribe-payment-form-card [class*="placeholder"],
.subscribe-payment-panel .subscribe-payment-form-card [class*="Placeholder"] {
  color: #94A3B8 !important;
  opacity: 1 !important;
}

.subscribe-payment-panel .subscribe-payment-form-card [class*="singleValue"],
.subscribe-payment-panel .subscribe-payment-form-card [class*="SingleValue"],
.subscribe-payment-panel .subscribe-payment-form-card [class*="valueContainer"],
.subscribe-payment-panel .subscribe-payment-form-card [class*="ValueContainer"] {
  color: #F8FAFC !important;
}

.subscribe-payment-panel .subscribe-payment-form-card img {
  filter: none !important;
}

.subscribe-payment-panel .subscribe-payment-button-hint {
  color: #FBBF24 !important;
  display: block;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin-top: 8px !important;
}

.subscribe-payment-panel .subscribe-payment-select-field > div,
.subscribe-payment-panel .subscribe-payment-select-field [class*="label"],
.subscribe-payment-panel .subscribe-payment-select-field [class*="Label"],
.subscribe-payment-panel .subscribe-document-number-field > div,
.subscribe-payment-panel .subscribe-document-number-field [class*="label"],
.subscribe-payment-panel .subscribe-document-number-field [class*="Label"] {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.subscribe-payment-panel .subscribe-payment-select-field [class*="label"],
.subscribe-payment-panel .subscribe-payment-select-field [class*="Label"],
.subscribe-payment-panel .subscribe-credit-card-field [class*="label"],
.subscribe-payment-panel .subscribe-credit-card-field [class*="Label"],
.subscribe-payment-panel .subscribe-document-number-field [class*="label"],
.subscribe-payment-panel .subscribe-document-number-field [class*="Label"] {
  display: inline-flex !important;
  width: auto !important;
}

.subscribe-payment-panel .subscribe-payment-bank-logo {
  filter: grayscale(1) brightness(0) invert(0.84) !important;
  opacity: 0.92;
}

.subscribe-payment-panel .subscribe-credit-card-field > div,
.subscribe-payment-panel .subscribe-credit-card-field [class*="label"],
.subscribe-payment-panel .subscribe-credit-card-field [class*="Label"] {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.subscribe-payment-panel .subscribe-credit-card-field .MuiInputBase-root,
.subscribe-payment-panel .subscribe-credit-card-field .MuiOutlinedInput-root,
.subscribe-payment-panel .subscribe-credit-card-field input,
.subscribe-payment-panel .subscribe-credit-card-field textarea,
.subscribe-payment-panel .subscribe-document-number-field .MuiInputBase-root,
.subscribe-payment-panel .subscribe-document-number-field .MuiOutlinedInput-root,
.subscribe-payment-panel .subscribe-document-number-field input,
.subscribe-payment-panel .subscribe-document-number-field textarea {
  background-color: #0F172A !important;
  color: #F8FAFC !important;
}

.subscribe-payment-panel .subscribe-credit-card-field .MuiOutlinedInput-notchedOutline,
.subscribe-payment-panel .subscribe-credit-card-field fieldset,
.subscribe-payment-panel .subscribe-document-number-field .MuiOutlinedInput-notchedOutline,
.subscribe-payment-panel .subscribe-document-number-field fieldset {
  border-color: rgba(45, 152, 218, 0.72) !important;
}

.subscribe-payment-panel .subscribe-credit-card-field .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline,
.subscribe-payment-panel .subscribe-credit-card-field .MuiOutlinedInput-root:hover fieldset,
.subscribe-payment-panel .subscribe-credit-card-field .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline,
.subscribe-payment-panel .subscribe-credit-card-field .MuiOutlinedInput-root.Mui-focused fieldset,
.subscribe-payment-panel .subscribe-document-number-field .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline,
.subscribe-payment-panel .subscribe-document-number-field .MuiOutlinedInput-root:hover fieldset,
.subscribe-payment-panel .subscribe-document-number-field .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline,
.subscribe-payment-panel .subscribe-document-number-field .MuiOutlinedInput-root.Mui-focused fieldset {
  border-color: #2D98DA !important;
}

.subscribe-payment-panel .subscribe-credit-card-field input::placeholder,
.subscribe-payment-panel .subscribe-credit-card-field textarea::placeholder,
.subscribe-payment-panel .subscribe-document-number-field input::placeholder,
.subscribe-payment-panel .subscribe-document-number-field textarea::placeholder {
  color: #94A3B8 !important;
  opacity: 1 !important;
}

.active-tabs {
  background: #2D98DA !important;
}

.non-active {
  background: #EEF2F5 !important;
  color: #778CA3 !important;
}

.padding-16 {
  padding: 16px !important;
}

.payment-board {
  margin: 0 auto;
  background: #F5F7F8;
  padding: 32px;
  border-radius: 15px;
  border: 1px dashed #D1D8E0;
}

.img-small-check-list-20 {
  width: 20px !important;
  height: 20px !important;
  margin-right: 8px;
}

.modal-height-auto {
  min-height: 0 !important;
}

/* menu color */
.menu-item-C30 {
  background-color: #FF8585;
  border-color: #FF8585;
}

.button-save-cancel-modal-custome {
  background-color: #ffffff;
  justify-content: flex-end;
  display: flex;
  position: absolute;
  bottom: 0;
  width: inherit;
  right: 0;
  padding-right: 30px;
  padding-bottom: 20px;
  height: 7%;
}

/* menu color */
.menu-item-C30 {
  background-color: #FF8585;
  border-color: #FF8585;
}

/* table style  */
.mini-table td {
  padding: 4px !important;
  vertical-align: top !important;
}

.table thead:first-child th {
  font-weight: bold !important;
  color: #394D6F !important;
}

/* banner */
.slick-next:before,
.slick-prev:before {
  display: none !important;
}

.slick-dots li button:before {
  content: "━" !important;
  font-size: 26px !important;
  color: #edeef1 !important;
  opacity: 1 !important;
  margin-left: -26px;
}

.slick-dots li.slick-active button:before {
  color: #0f7aae !important;
}

.border-unactive {
  border: 1px solid #EDEEF1 !important;
}

.border-active {
  border: 1px solid #20BF68 !important;
}

.button-radius-left {
  border-top-right-radius: unset !important;
  border-bottom-right-radius: unset !important;
}

.button-radius-right {
  border-top-left-radius: unset !important;
  border-bottom-left-radius: unset !important;
}

.font20 {
  font-weight: 600 !important;
  font-size: 20px !important;
  line-height: 28px !important;
}

.font14 {
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 20px !important;
}

.font14Bold {
  font-weight: 800 !important;
  font-size: 14px !important;
  line-height: 20px !important;
}

.custom-button {
  width: 24px !important;
  height: 24px !important;
  border-radius: 14px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.wrap-animation {
  width: 100%;
  position: relative;
  display: inline-block
}

.border-green {
    color: #ffffff !important;
    border: solid 0.5px #20bf6b !important;
    background-color: #20bf6b !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 14px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    border-radius: 4px !important;
    font-weight: 100 !important;
}

.medium-table td{
  padding: 16px 8px 8px !important;
  vertical-align: top !important;
}
.heading3-small {
  font-weight: 800 !important;
  font-size: 14px !important;
  line-height: 22px !important;
}

.heading4-font14 {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
}

.color-N60 {
  color: #5D6D89 !important;
}

/* ---- Dark mode overrides ---- */
.dark .wrapper { background: var(--theme-bg-default) !important; }
.dark .no-background { background: var(--theme-bg-default) !important; }
.dark .wrapper-login { background: #ffffff !important; }
.dark .wrapper-company { background: var(--theme-bg-paper) !important; }
.dark .card-companies { background: var(--theme-bg-paper) !important; color: var(--theme-text-primary) !important; }

html.dark .login-shell.login-shell--dark,
.dark .login-shell.login-shell--dark {
  --theme-text-primary: #F8FAFC;
  --theme-text-secondary: #B7C0D8;
  --theme-bg-paper: #181A29;
  --theme-bg-surface: #10121F;
  --theme-border: rgba(183, 192, 216, 0.22);
  --theme-icon-muted: #AAB3C7;
}

html.dark .login-shell--dark .wrapper-login,
.dark .login-shell--dark .wrapper-login {
  background: linear-gradient(180deg, #1C1F31 0%, #151725 100%) !important;
  border: 1px solid rgba(183, 192, 216, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

html.dark .login-shell--dark .wrapper-login .heading1,
html.dark .login-shell--dark .wrapper-login .color-black,
.dark .login-shell--dark .wrapper-login .heading1,
.dark .login-shell--dark .wrapper-login .color-black {
  color: #F8FAFC !important;
}

html.dark .login-shell--dark .wrapper-login .color-N60,
.dark .login-shell--dark .wrapper-login .color-N60 {
  color: #B7C0D8 !important;
}

html.dark .login-shell--dark .form-login-wrapper .MuiInputBase-input,
.dark .login-shell--dark .form-login-wrapper .MuiInputBase-input {
  background: transparent !important;
  color: #F8FAFC !important;
  caret-color: #2D98DA;
}

html.dark .login-shell--dark .form-login-wrapper .MuiInputBase-input::placeholder,
.dark .login-shell--dark .form-login-wrapper .MuiInputBase-input::placeholder {
  color: #C7CEE0 !important;
  opacity: 1;
}

html.dark .login-shell--dark .form-login-wrapper .MuiInputBase-input:-webkit-autofill,
html.dark .login-shell--dark .form-login-wrapper .MuiInputBase-input:-webkit-autofill:hover,
html.dark .login-shell--dark .form-login-wrapper .MuiInputBase-input:-webkit-autofill:focus,
.dark .login-shell--dark .form-login-wrapper .MuiInputBase-input:-webkit-autofill,
.dark .login-shell--dark .form-login-wrapper .MuiInputBase-input:-webkit-autofill:hover,
.dark .login-shell--dark .form-login-wrapper .MuiInputBase-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 40px #10121F inset !important;
  -webkit-text-fill-color: #F8FAFC !important;
}

html.dark .login-shell--dark .form-login-wrapper .login-with-google,
.dark .login-shell--dark .form-login-wrapper .login-with-google {
  background: #151827;
  border-color: rgba(183, 192, 216, 0.24);
  color: #F8FAFC;
}

html.dark .login-shell--dark .form-login-wrapper .login-with-google:hover,
.dark .login-shell--dark .form-login-wrapper .login-with-google:hover {
  background: #1C2033;
  border-color: rgba(45, 152, 218, 0.42);
}

html.dark .login-shell--dark .color-blue5,
.dark .login-shell--dark .color-blue5 {
  color: #5CB8F2 !important;
}

html.dark .login-shell--dark .MuiButton-root,
.dark .login-shell--dark .MuiButton-root {
  color: #F8FAFC;
}

@media (max-width: 768px) {
  html.dark .login-shell--dark .wrapper-login,
  .dark .login-shell--dark .wrapper-login {
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }
}

/* Dark overlay for background image pages */
.dark .background-login::before,
.dark .background-login-zahir-7::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.97);
  z-index: 0;
}
.dark .background-login > *,
.dark .background-login-zahir-7 > * {
  position: relative;
  z-index: 1;
}

/* =====================================================
   LIST-COMPANY PAGE — lc-* & company-* UI styles
   Light + Dark, Desktop + Mobile
   ===================================================== */

/* --- Floating avatar — outside the card, top-right of page --- */

/* --- Header bar --- */

/* --- Avatar button --- */

/* --- Profile menu popover --- */

/* --- Toolbar --- */

/* --- Refresh button — outlined box matching search field --- */
.lc-refresh-btn {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  border: 1px solid rgba(0, 0, 0, 0.23) !important;
  border-radius: 4px !important;
  background: var(--theme-bg-paper, #fff) !important;
  transition: border-color 0.2s, background 0.15s !important;
}
.lc-refresh-btn:hover {
  border-color: rgba(0, 0, 0, 0.87) !important;
  background: rgba(0, 0, 0, 0.04) !important;
}

/* --- Mobile search container — override hardcoded white --- */
.container-search-mobile {
  background: var(--theme-bg-paper) !important;
  border-color: var(--theme-border) !important;
  border-radius: 8px;
  transition: border-color 0.2s;
}

.container-search-mobile:focus-within {
  border-color: var(--theme-primary) !important;
  box-shadow: 0 0 0 2px rgba(2, 127, 179, 0.15);
}

/* ---- Buka Data button — matches create button shape ---- */
.btn-buka-data {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-color: #20BF6B !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px;
  min-width: 80px;
  height: 36px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
  font-family: inherit;
  box-shadow: none;
  letter-spacing: 0.01em;
}
.btn-buka-data:hover {
  background-color: #1aab5d !important;
  box-shadow: none;
}
.btn-buka-data:active {
  box-shadow: none;
}

/* ---- Zebra striping for company list table ---- */
/* ReactVirtualized / DataTable rows */
.company-list-table .ReactVirtualized__Table__row:nth-child(odd) {
  background: var(--theme-bg-paper) !important;
}

.company-list-table .ReactVirtualized__Table__row:nth-child(even) {
  background: var(--lc-row-alt, #F8FAFC) !important;
}

.company-list-table .ReactVirtualized__Table__row:hover {
  background: var(--theme-hover) !important;
  cursor: pointer;
}

.company-list-table .ReactVirtualized__Table__row {
  align-items: stretch !important;
}

.company-list-table .ReactVirtualized__Table__rowColumn {
  align-items: center !important;
  display: flex !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

/* ---- Dark mode — zebra rows ---- */
.dark .company-list-table .ReactVirtualized__Table__row:nth-child(odd) {
  background: #222236 !important;
}

.dark .company-list-table .ReactVirtualized__Table__row:nth-child(even) {
  background: #1E1E32 !important;
}

.dark .company-list-table .ReactVirtualized__Table__row:hover {
  background: rgba(255,255,255,0.07) !important;
}

/* ---- Dark mode — TextField input ---- */
.dark .wrapper-company .MuiOutlinedInput-root .MuiInputBase-input {
  color: rgba(255, 255, 255, 0.87) !important;
}

.dark .wrapper-company .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline {
  border-color: #3A3A50 !important;
}

.dark .wrapper-company .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline {
  border-color: #027fb3 !important;
}

.dark .wrapper-company .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: #027fb3 !important;
}

/* ---- Dark mode — Refresh button ---- */
.dark .lc-refresh-btn {
  border-color: rgba(255, 255, 255, 0.23) !important;
  background: transparent !important;
}
.dark .lc-refresh-btn:hover {
  border-color: rgba(255, 255, 255, 0.87) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

/* ---- Dark mode — Select dropdown ---- */
.dark .wrapper-company .MuiSelect-select {
  color: rgba(255, 255, 255, 0.87) !important;
}

.dark .wrapper-company .MuiSelect-icon {
  color: #9CA3AF !important;
}

/* ---- Dark mode — profile menu specifics ---- */

/* ---- Dark mode — Select menu popup ---- */
.dark .MuiMenu-paper {
  background: #252540 !important;
  color: rgba(255, 255, 255, 0.87) !important;
  border: 1px solid #3A3A50 !important;
}

/* ---- Dark mode — Skeleton / placeholder loading bars ---- */
.dark .text-row {
  background-color: #3A3A50 !important;
}
.dark .placeholder-grid {
  background-color: #3A3A50 !important;
}

/* ---- Dark mode — DataTable row backgrounds ---- */
.dark .ReactVirtualized__Table__row {
  background: var(--theme-bg-paper) !important;
}
.dark .ReactVirtualized__Table__row:nth-child(even) {
  background: var(--theme-bg-default) !important;
}
.dark .ReactVirtualized__Table__row:hover {
  background: var(--theme-hover) !important;
}
.dark .ReactVirtualized__Table__headerRow {
  background: var(--theme-bg-paper) !important;
  border-bottom-color: var(--theme-border) !important;
}
.dark .ReactVirtualized__Table__Grid {
  background: var(--theme-bg-paper) !important;
}

.dark .MuiMenu-paper .MuiMenuItem-root {
  color: rgba(255, 255, 255, 0.87) !important;
}

.dark .MuiMenu-paper .MuiMenuItem-root:hover {
  background: rgba(255,255,255,0.08) !important;
}

.dark .MuiMenu-paper .MuiMenuItem-root.Mui-selected {
  background: rgba(2, 127, 179, 0.18) !important;
}

/* ---- Responsive mobile adjustments ---- */
@media only screen and (max-width: 768px) {

  .btn-buka-data {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
  }
}

/* =============================================
   Mobile Company Card View
   ============================================= */
.company-card-mobile__container {
  padding: 0 16px;
}

.company-card-mobile__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 16px;
}

.company-card-mobile {
  background: var(--theme-bg-paper);
  border: 1px solid var(--theme-divider);
  border-radius: 0;
  padding: 16px;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.company-card-mobile:active {
  transform: scale(0.98);
}

.company-card-mobile__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-card-mobile__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--theme-text-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.company-card-mobile__meta {
  font-size: 12px;
  color: var(--theme-text-secondary, #7A8599);
  margin-top: 2px;
  line-height: 1.3;
}

.company-card-mobile__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--theme-divider);
  gap: 8px;
}

.company-card-mobile__badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.company-card-mobile__expired {
  font-size: 11px;
  color: var(--theme-text-secondary, #A5AEBD);
  white-space: nowrap;
  text-align: right;
}

/* Skeleton loading */
.company-card-mobile--skeleton {
  pointer-events: none;
}

.skeleton-pulse {
  background: linear-gradient(90deg, var(--theme-bg-default, #E2E8F0) 25%, var(--theme-divider, #F1F5F9) 50%, var(--theme-bg-default, #E2E8F0) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Dark mode overrides */
.dark .company-card-mobile {
  background: var(--theme-bg-paper);
  border-color: var(--theme-divider);
}

/* Force ledger container and children to match theme-bg-paper in dark mode */
html.dark .ledger-container,
html.dark .ledger-container .ledger-header,
html.dark .ledger-container .ledger-body,
.dark .ledger-container,
.dark .ledger-container .ledger-header,
.dark .ledger-container .ledger-body {
  background-color: var(--theme-bg-paper, #222236) !important;
}

html.dark .ledger-container .ledger-header,
.dark .ledger-container .ledger-header {
  border-bottom: none !important;
}

/* Force table headers inside ledger container to match the container color seamlessly */

html.dark .ledger-container th,
.dark .ledger-container th {
  background-color: var(--theme-bg-paper, #222236) !important;
  color: var(--theme-text-primary, #F9FAFB) !important;
}

/* --- Fix Syncfusion dark mode menus --- */

html.dark .e-popup.e-dropdown-popup,
html.dark .e-popup.e-dropdown-popup .e-item {
  background-color: var(--theme-bg-paper) !important;
  color: var(--theme-text-primary) !important;
  border-color: var(--theme-border) !important;
}


html.dark .e-popup.e-dropdown-popup .e-item:hover,
html.dark .e-popup.e-dropdown-popup .e-item.e-hover {
  background-color: var(--theme-hover) !important;
  color: var(--theme-text-primary) !important;
}

html.dark .implemented_on-primary,
html.dark button.implemented_on-primary,
body.dark .implemented_on-primary,
body.dark button.implemented_on-primary,
.dark .implemented_on-primary,
.dark button.implemented_on-primary {
  background: linear-gradient(0deg, rgba(2, 127, 179, 0.22), rgba(2, 127, 179, 0.22)), #2A2A40 !important;
  background-color: #2A2A40 !important;
  border: 1px solid rgba(92, 184, 228, 0.52) !important;
  box-shadow: inset 0 0 0 1px rgba(92, 184, 228, 0.08) !important;
  color: #5CB8E4 !important;
}

html.dark .implemented_on-inactive,
html.dark button.implemented_on-inactive,
body.dark .implemented_on-inactive,
body.dark button.implemented_on-inactive,
.dark .implemented_on-inactive,
.dark button.implemented_on-inactive {
  background: #2A2A40 !important;
  background-color: #2A2A40 !important;
  border: 1px solid #3A3A50 !important;
  box-shadow: none !important;
  color: #E5E7EB !important;
}

html.dark .implemented_on-primary *,
html.dark .implemented_on-inactive *,
body.dark .implemented_on-primary *,
body.dark .implemented_on-inactive *,
.dark .implemented_on-primary *,
.dark .implemented_on-inactive * {
  color: inherit !important;
}
