body {
  margin: 0;
}

.top-header {
  background: #010920;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: relative;
}

.top-header-nav-desktop {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-header-user-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  position: relative;
  padding: 0.5rem;
  border-radius: 5px;
  transition: background 0.3s;
}

.top-header-user-section:hover {
  background: rgba(255, 255, 255, 0.1);
}

.top-header-notification-icon,
.top-header-cart-icon {
  position: relative;
  cursor: pointer;
  padding: 0.5rem;
}

.top-header-notification-icon img {
  max-width: 35px;
  max-height: 36px;
  fill: white;
}

.top-header-notification-badge {
  position: absolute;
  top: -2px;
  left: 25px;
  background: #ff4444 !important;
  color: white !important;
  font-size: 10px !important;
  border-radius: 52px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  text-align: center;
}

.top-header-user-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

.top-header-username {
  color: white;
  font-size: 14px;
}

.top-header-dropdown-arrow {
  color: white;
  font-size: 12px;
}

.top-header-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 1000;
}

.top-header-user-section:hover .top-header-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.top-header-dropdown-item {
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  display: block;
  transition: background 0.3s;
  position: relative;
}

.top-header-dropdown-item:hover {
  background: #f5f5f5;
}

.top-header-dropdown-item.has-submenu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-header-submenu {
  position: absolute;
  left: 100%;
  top: 0;
  background: white;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  margin-left: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s;
}

.top-header-dropdown-item.has-submenu:hover .top-header-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.top-header-submenu-item {
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  display: block;
  transition: background 0.3s;
}

.top-header-submenu-item:hover {
  background: #f5f5f5;
}

.top-header-divider {
  align-self: center;
  border-left: 1px solid #ffc700;
  height: 32px;
  margin: 0 1rem;
}

.top-header-logout-btn {
  background: #ff9b0080;
  border: 2px solid #ffc70080;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.top-header-logout-btn:hover {
  background: #ff9b00;
  border-color: #ffc700;
}

.top-header-hamburger {
  display: none;
  cursor: pointer;
  gap: 8px;
}

.top-header-hamburger span {
  width: 25px;
  height: 3px;
  color: #fff;
  transition: all 0.3s;
  border-radius: 2px;
}

.top-header-mobile-menu {
  display: none;
  position: absolute;
  top: 65px;
  left: 0;
  right: 0;
  background: #010920;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

.top-header-mobile-menu.active {
  display: block;
}

.top-header-mobile-menu-item {
  padding: 1rem;
  color: white;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-header-mobile-submenu {
  display: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.top-header-mobile-submenu.active {
  display: block;
}

.top-header-mobile-submenu-item {
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  font-size: 14px;
}

.top-header-mobile-logout {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .top-header {
    padding: 0 0.5rem;
  }

  .top-header-logo img {
    height: 80px;
  }

  .top-header-nav-desktop {
    display: none;
  }

  .top-header-hamburger {
    display: flex;
    padding-right: 60px;
  }

  .top-header-hamburger-menu {
    display: flex;
  }

  .top-header-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    margin-top: 0;
  }

  .top-header-dropdown-item {
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .top-header-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .top-header-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    margin-left: 0;
    padding-left: 1rem;
    display: none;
  }

  .top-header-dropdown-item.has-submenu.active .top-header-submenu {
    display: block;
  }

  .top-header-submenu-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .top-header-submenu-item:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

.custom-menu {
  background-color: rgba(1, 30, 60) !important;
  padding: 0 1.5rem;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  border: none !important;
  border-radius: unset !important;
  -webkit-border-radius: unset !important;
  -moz-border-radius: unset !important;
  -ms-border-radius: unset !important;
  -o-border-radius: unset !important;
}

.other-page.asset-body .custom-menu,
.contact-body .custom-menu {
  background-color: rgba(1, 30, 60) !important;
  padding: 0 1.5rem;
}

.terms-body .custom-menu {
  background-color: #010920 !important;
  padding: 0 1.5rem;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  border: none !important;
  border-radius: unset;
  -webkit-border-radius: unset;
  -moz-border-radius: unset;
  -ms-border-radius: unset;
  -o-border-radius: unset;
}

.custom-menu .item {
  color: white !important;
  font-weight: 500;
}

.custom-menu .item.logo img {
  width: 100%;
  height: 100%;
}

.custom-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.custom-menu a.active {
  color: #ffc700 !important;
  position: relative;
}

.custom-menu a.active::after {
  content: "";
  position: absolute;
  width: 52%;
  height: 1px;
  background-color: #ffc700;
  left: 45px;
  bottom: 10px;
  margin: auto !important;
  text-align: center;
}

.divider {
  align-self: center;
  border-left: 1px solid #ffc700;
  height: 32px;
  margin: 0 1rem;
}

.login-button {
  background-color: #ff9b0080 !important;
  color: white;
  padding: 6px 14px;
  border: 1px solid #ffc700 !important;
}

.logo img {
  height: 30px;
}

.custom-menu .mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  width: 70%;
  height: 100vh;
  z-index: 9999;
  padding: 30px;
  overflow-y: auto;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%);
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
}

.custom-menu .mobile-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.custom-menu .mobile-menu a {
  display: block;
  margin-bottom: 10px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.custom-menu .mobile-menu a:hover {
  color: #000;
}

/* Mobile profile toggle styles */
.mobile-nav-item {
  display: none !important;
}

.desktop-nav {
  display: block;
}

.mobile-only {
  display: none;
}

/* Remove all mobile menu related styles */

/* Mobile responsive styles */
@media (max-width: 768px) {
  .desktop-profile {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .mobile-profile-toggle {
    display: flex !important;
  }
}

/* Marquee */
.marquee {
  width: 100%;
  overflow: hidden;
  /* white-space: nowrap; */
  box-sizing: border-box;
  background: #f4f4f4;
  padding: 10px;
  margin: 10px;
  font-size: 20px;
  text-align: center;
  margin-top: 85px;
}

.marquee span {
  display: inline-block;
  /* padding-left: 100%; */
  /* animation: scroll 30s linear infinite; */
  color: #ffc700;
}

/* @keyframes scroll {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes scroll {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-100%);
  }
} */

.marquee:hover span {
  animation-play-state: paused;
}

/* Back button */

.back-button {
  position: absolute;
  top: 90px;
  right: 100px;
  background: #ffc700;
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 36px;
  border: none;
  border-radius: 999px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.back-button-down {
  display: none;
}

/* Layout container - UPDATED */
.container.main {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  width: min(100%, 90rem);
  margin: 20px auto 100px;
  padding: 3rem 1rem;
  gap: 2rem;
  /* align-items: center; */
}

.container.main .container-header {
  position: absolute;
  top: 20px;
  left: 80px;
  text-align: left;
  color: #fff;
  /* margin-left: 50px; */
}

/* Hide sidebar - UPDATED */
.dash-page .sidebar {
  display: none;
}

/* .dash-body {
  background-image: url("/static/image/dash-bg.png") !important;
  background-repeat: no-repeat;
  background-size: cover;
} */

.dash-page,
.dash-body {
  min-height: 500px;
  background-image:
    linear-gradient(180deg,
      rgba(0, 27, 54, 1) 22.5%,
      rgba(197, 228, 255, 0.1) 100%,
      rgba(213, 235, 255, 0.1) 40.57%),
    url("image/shield-img.png");
  background-repeat: no-repeat;
  /* background-size: auto; */
  background-size: cover, 300px;
  background-position: center;
  /* background-attachment: scroll, fixed; */

}

/* Remove all sidebar related styles */
.dropdown-container,
.dropdown-btn,
.dropdown-menu,
.sidebar-divider {
  display: none;
}

/* Main content - UPDATED */
.main-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  height: 160px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  width: 100%;
  max-width: 300px;
}

.profile-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  background-color: rgba(0, 0, 0, 0) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0) !important;
}

.card-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.icon-button {
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 4px 10px;
  background: none;
  cursor: pointer;
  color: #666;
}

.icon-button:hover {
  color: black;
}

.card-line {
  font-size: 12px;
  color: #666;
  display: flex;
  gap: 4px;
  align-items: center;
}

.other-card {
  background: white;
  border-radius: 12px;
  padding-left: 20px;
  height: 160px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: #000;
  width: 100%;
  max-width: 300px;
}

.icon-blue {
  color: #3b82f6;
  font-size: 20px;
}

.asset-container .ui.centered.grid:nth-of-type(3) {
  background-color: #f5f2f2;
}

.ui.menu .item {
  transition: color 0.2s ease !important;
}

.ui.menu .item:hover {
  color: #ffc700 !important;
}

/* Responsive Rules - UPDATED */
@media (max-width: 920px) {
  .main-content {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
  }

  .card,
  .other-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container.main {
    padding: 2rem 1rem;
    margin: 10px auto 80px;
  }

  .container.main .container-header {
    position: absolute;
    top: 20px;
    left: 30px;
    text-align: left;
    color: #fff;
  }

  .logo img {
    width: 120px !important;
  }

  .main-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .back-button {
    display: none;
  }

  .back-button-down {
    display: block;
    color: #374151;
    background: white;
    border: none;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    padding: 20px 50px;
    margin-top: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
  }

  a.back-button-link {
    color: #fff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }

  .back-button-down a.back-button-link {
    color: #000 !important;
    text-decoration: none;
  }

  /* Hide desktop navigation */
  .desktop-nav {
    display: none !important;
  }

  .desktop-only {
    display: none !important;
  }

  /* Show mobile navigation items in profile dropdown */
  .mobile-nav-item {
    display: block !important;
  }
}

@media (max-width: 480px) {
  .custom-menu .toggle-btn {
    margin-right: 20px;
    margin-left: 20px;
  }

  .container.main {
    width: 100% !important;
    padding: 1.5rem 0.5rem;
  }

  .main-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
  }

  .profile-card {
    height: 150px !important;
    padding: 15px;
  }

  .card-line {
    font-size: 10px;
  }

  .other-card {
    font-size: 12px;
    height: 120px !important;
    padding: 15px;
  }

  .other-card img {
    width: 40px;
  }

  .asset-container .four.column.row.asset-row,
  .asset-container .four.column.row.asset-row-two {
    justify-content: flex-start !important;
  }

  .asset-container .ui.centered.grid {
    justify-content: flex-start;
    margin-left: 1px;
  }

  .asset-container .four.column.row.asset-row .column p {
    font-size: 12px !important;
  }

  .asset-container .asset-row-two {
    display: flex !important;
    gap: 50px;
    margin: 0px 80px 0px 10px !important;
    background-color: #f5f2f2;
  }

  .asset-container .four.column.row.asset-row-two .column p {
    font-size: 10px !important;
  }

  .asset-container .four.column.row.asset-row-two .column .ui.form {
    width: 160px !important;
    max-width: 160px !important;
  }
}

@media (max-width: 375px) {
  .profile-card {
    height: 130px !important;
    padding: 12px;
  }

  .other-card {
    height: 110px !important;
    padding: 12px;
    font-size: 11px;
  }

  .other-card img {
    width: 35px;
  }
}

/* Modal Styles */
.custom-modal {
  width: 400px !important;
  max-width: 90%;
  margin: auto;
  background-color: #ffffff !important;
}

.custom-modal>.content {
  background-color: #d8f2fe !important;
  border-radius: 12px;
}

.custom-modal .image img {
  width: 100px;
  margin-bottom: 1rem;
}

.custom-modal h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.pin-form-group {
  margin-bottom: 1rem;
}

.pin-form-group input {
  text-align: center;
}

.ui.dimmer.modals {
  z-index: 10000;
}

.ui.modal {
  background-color: #d8f2fe !important;
  border-radius: 10px;
  padding: 2rem;
}

.ui.modal>.content {
  background-color: #d8f2fe !important;
}

.ui.form .field>label {
  font-weight: 600;
}

.ui.button.done-btn {
  background-color: #042e4c;
  color: white;
}

.dash-page footer.site-footer {
  background-color: #010920;
  padding: 80px 100px;
  border-top: 1px solid #001b36;
}

/* user profile */
.profile-body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 20px; */

  position: relative;
  flex-direction: column;
  max-width: 1300px;
  width: min(100%, 90rem);
  margin: 50px auto 100px;
  padding: 3rem 1rem;
  gap: 2rem;
}

.profile-container {
  max-width: 1280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.header-section {
  background: white;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.profile-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b7355, #a0956b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  font-weight: bold;
  flex-shrink: 0;
}

.profile-info h1 {
  color: #0f172a;
  font-size: 24px;
  margin-bottom: 5px;
  font-weight: 700;
}

.profile-info p {
  color: #64748b;
  font-size: 16px;
  margin-bottom: 4px;
}

.edit-profile-btn {
  background: #4a5568;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.edit-profile-btn:hover {
  background: #0f172a;
}

.content-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.company-info {
  padding: 30px;
  /* border-right: 1px solid #e2e8f0; */
  background: white;
  border-radius: 16px;
}

.company-info label {
  display: block;
  font-weight: bold;
  margin: 15px 0 5px;
  font-size: 1rem;
}

.company-info input {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.company-info input:focus {
  outline: none;
  border-color: #0078d7;
  box-shadow: 0 0 5px rgba(0, 120, 215, 0.3);
}

.additional-section {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.additional-title {
  color: #0f172a;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.additional-content {
  color: #4a5568;
  line-height: 1.6;
  font-size: 14px;
}

.additional-content .form-section {
  width: 100%;
  /* max-width: 800px; */
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.additional-content .form-section label {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.additional-content .form-section textarea {
  width: 100%;
  height: 180px;
  padding: 15px;
  font-size: 1rem;
  line-height: 1.6;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  resize: none;
}

.additional-content .form-section textarea:focus {
  outline: none;
  border-color: #0078d7;
  box-shadow: 0 0 5px rgba(0, 120, 215, 0.3);
}

@media (max-width: 768px) {
  .header-section {
    flex-direction: column;
    text-align: center;
  }

  .content-section {
    grid-template-columns: 1fr;
  }
}

/* Freemium exhausted modal */
.freemium-exhausted-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 12000;
  padding: 20px;
}

.freemium-exhausted-modal.active {
  display: flex;
}

.freemium-exhausted-modal-card {
  width: min(750px, 100%);
  height: min(350px, 95vh);
  max-height: 350px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f3f4f6;
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}

.freemium-exhausted-modal.active .freemium-exhausted-modal-card {
  animation: freemiumModalPopIn 260ms ease-out forwards;
}

@keyframes freemiumModalPopIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.freemium-exhausted-left {
  padding: 28px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow-y: auto;
}

.freemium-exhausted-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 16px;
}

.freemium-exhausted-left h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 22px;
  line-height: 1.16;
  font-weight: 700;
}

.freemium-exhausted-left h3 span {
  color: #1177ce;
}

.freemium-exhausted-left p {
  margin: 0 0 18px;
  max-width: 420px;
  color: #374151;
  font-size: 12px;
  line-height: 1.35;
}

.freemium-exhausted-label-btn {
  width: 100%;
  max-width: 420px;
  height: 42px;
  border: 1px solid #bcc4d1;
  border-radius: 999px;
  color: #374151;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  margin-top: 50px;
}

.freemium-exhausted-upgrade-btn {
  width: 100%;
  max-width: 420px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #004370;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.freemium-exhausted-right {
  background: #004370;
  color: #fff;
  padding: 30px 22px 18px;
  overflow-y: auto;
}

.freemium-exhausted-right h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.freemium-exhausted-right ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.freemium-exhausted-right li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.35;
}

.freemium-exhausted-check {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.freemium-exhausted-check svg {
  width: 100%;
  height: 100%;
}

.freemium-exhausted-footnote {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.freemium-exhausted-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.freemium-exhausted-chevron {
  display: none;
}

@media (max-width: 900px) {
  .freemium-exhausted-modal-card {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: 95vh;
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  .freemium-exhausted-modal {
    padding: 12px;
  }

  .freemium-exhausted-modal-card {
    width: min(340px, 100%);
    height: auto;
    max-height: 92vh;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    overflow: hidden;
  }

  .freemium-exhausted-left {
    padding: 62px 16px 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    overflow: hidden;
  }

  .freemium-exhausted-logo,
  .freemium-exhausted-left h3,
  .freemium-exhausted-left p {
    width: 100%;
  }

  .freemium-exhausted-left h3 {
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.24;
  }

  .freemium-exhausted-left p {
    max-width: 280px;
    margin: 0 auto 16px;
    font-size: 11px;
    line-height: 1.3;
  }

  .freemium-exhausted-label-btn,
  .freemium-exhausted-upgrade-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(50% - 6px);
    max-width: none;
    height: 40px;
    margin-bottom: 5px;
    font-size: 11px;
  }

  /* .freemium-exhausted-left .freemium-exhausted-label-btn {
    margin-right: 12px;
  } */

  .freemium-exhausted-close {
    top: 12px;
    right: 12px;
    background: #e5e7eb;
    color: #4b5563;
  }

  .freemium-exhausted-right {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    position: relative;
    overflow: hidden;
    height: auto;
    padding-right: 44px;
  }

  .freemium-exhausted-right h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
  }

  .freemium-exhausted-right ul,
  .freemium-exhausted-footnote {
    display: none;
  }

  .freemium-exhausted-chevron {
    display: inline-flex;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 0;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 2;
  }

  .freemium-exhausted-right.expanded {
    align-items: flex-start;
    flex-direction: column;
    max-height: 42vh;
    overflow: hidden;
    padding-top: 12px;
  }

  .freemium-exhausted-right.expanded ul {
    display: block;
    margin-top: 12px;
    width: 100%;
    overflow-y: auto;
    max-height: calc(42vh - 88px);
  }

  .freemium-exhausted-right.expanded .freemium-exhausted-footnote {
    display: flex;
    font-size: 11px;
    line-height: 1.25;
    margin-top: 12px;
  }

  .freemium-exhausted-right.expanded .freemium-exhausted-chevron {
    transform: rotate(180deg);
  }

  .freemium-exhausted-right.expanded li {
    font-size: 11px;
    margin-bottom: 7px;
  }

  .freemium-exhausted-right:not(.expanded) h3 {
    max-width: calc(100% - 40px);
  }

  .freemium-exhausted-right:not(.expanded) {
    flex-direction: row;
    align-items: center;
  }
}
