/* 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-purple1 {
  color: #8854D0 !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;
}

.text-large {
  font-size: 38px !important;
  line-height: 40px !important;
  font-weight: 800 !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-image: url('../../assets/img/background.svg');
  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: var(--theme-bg-paper, white);
  padding: 50px 100px;
  border-radius: 10px;
  box-sizing: initial;
}

.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-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-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;
}

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

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

.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;
}

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

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

.font24 {
  font-weight: bold !important;
  font-size: 24px !important;
  line-height: 30px !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;
}

.period-font-size {
  font-size: 12px !important;
  line-height: 20px !important;
  text-align: center;
  max-inline-size: 113px;
  font-weight: unset !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: var(--theme-bg-paper) !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; }

/* 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 green button ---- */
.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: 8px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  font-family: inherit;
  box-shadow: 0 2px 6px rgba(32, 191, 107, 0.25);
  letter-spacing: 0.01em;
}
.btn-buka-data:hover {
  background-color: #1aab5d !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(32, 191, 107, 0.35);
}
.btn-buka-data:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(32, 191, 107, 0.2);
}

/* ---- 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;
}

/* ---- 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 .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 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;
  }
}

/* =============================================
   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__logo-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--theme-bg-default, #F1F5F9);
  border: 1px solid var(--theme-divider);
}

.company-card-mobile__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-card-mobile__logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-bg-default, #F1F5F9);
}

.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;
}
