/* Theme tokens live in ../theme.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
}

body {
  background-color: #f4f6fb;
  background-image: none;
  color: var(--text-dark);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body.modal-open {
  overflow: hidden !important;
  touch-action: none;
}
input,
textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100vh;
  height: 100dvh;
  width: 260px;
  background: var(--white);
  transition: width 0.3s ease, left 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
  box-shadow: var(--shadow);
  overflow: hidden;
  overscroll-behavior: none;
}

.sidebar.active {
  width: 80px;
}

.sidebar .logo-details {
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.sidebar .logo-details i {
  font-size: 30px;
  font-weight: 500;
  color: var(--primary-color);
  min-width: 60px;
  text-align: center;
}

.sidebar .logo-details .logo_name {
  color: var(--text-dark);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.sidebar .logo-details .logo_full {
  height: 42px;
  max-height: 48px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.sidebar.active .logo-details .logo_name,
.sidebar.active .logo-details .logo_full {
  display: none;
}

.sidebar.active .logo-details .logo_icon {
  display: block !important;
}

.sidebar .nav-links {
  margin-top: 10px;
  padding: 0 15px;
  height: calc(100% - 150px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 70px;
  -webkit-overflow-scrolling: touch;
}

.sidebar .nav-links::-webkit-scrollbar {
  width: 4px;
}

.sidebar .nav-links::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar .nav-links::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.sidebar .nav-links::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.15);
}

.sidebar .nav-links li {
  position: relative;
  list-style: none;
  height: 50px;
  margin-bottom: 8px;
}

.sidebar .nav-links li a {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  border-radius: 12px;
  transition: var(--transition);
  color: var(--text-light);
}

.sidebar .nav-links li a:hover,
.sidebar .nav-links li a.active {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(93, 72, 255, 0.3);
}

.sidebar .nav-links li a i {
  min-width: 50px;
  text-align: center;
  font-size: 20px;
}

.sidebar .nav-links li a .links_name {
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.sidebar.active .nav-links li a .links_name {
  display: none;
}

.sidebar .profile-details {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-gray);
  padding: 15px 20px;
  transition: padding 0.3s ease, background 0.3s ease, justify-content 0.3s ease;
  border-top: 1px solid #e2e8f0;
}

.sidebar.active .profile-details {
  justify-content: center;
  padding: 15px 10px;
}

.sidebar .profile-details img {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--white);
}

.sidebar .profile-details .name-job {
  margin-left: 10px;
}

.sidebar.active .profile-details .name-job {
  display: none;
}

.sidebar .profile-details .profile_name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.sidebar .profile-details .job {
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 500;
}

.sidebar .profile-details i {
  font-size: 20px;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.sidebar .profile-details i:hover {
  color: var(--danger);
}

.sidebar.active .profile-details i {
  display: none;
}

/* Home Section */
.home-section {
  position: relative;
  background: #f4f6fb;
  min-height: 100vh;
  width: calc(100% - 260px);
  left: 260px;
  transition: width 0.3s ease, left 0.3s ease;
  padding-bottom: 50px;
}

.sidebar.active ~ .home-section {
  width: calc(100% - 80px);
  left: 80px;
}

.home-section nav {
  display: flex;
  justify-content: space-between;
  height: 80px;
  background: var(--white);
  align-items: center;
  padding: 0 40px;
  border-bottom: 1px solid #e2e8f0;
}

.home-section nav .sidebar-button {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 600;
}

.home-section nav .sidebar-button i {
  font-size: 28px;
  margin-right: 15px;
  cursor: pointer;
  color: var(--text-dark);
}

.home-section nav .profile-dropdown {
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 6px 16px;
  border-radius: 30px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}

.home-section nav .profile-dropdown:hover {
  box-shadow: var(--shadow-hover);
}

.home-section nav .profile-dropdown img {
  height: 35px;
  width: 35px;
  border-radius: 50%;
  margin-left: 10px;
}

.admin_name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

/* Main Content Container */
.main-content-container {
  padding: 0 40px;
  margin-top: 10px;
  border-left: 1px solid #e2e8f0;
}

.content-view {
  display: none;
  animation: fadeIn 0.4s ease;
}

.content-view.active-view {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Welcome Card */
.welcome-card {
  background: linear-gradient(135deg, var(--primary-color), #312e81);
  border-radius: var(--border-radius);
  padding: 30px 40px;
  color: var(--white);
  margin-bottom: 30px;
  box-shadow: 0 15px 30px rgba(93, 72, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.welcome-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.welcome-content {
  position: relative;
  z-index: 10;
}

.welcome-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.welcome-content p {
  font-size: 15px;
  opacity: 0.9;
  font-weight: 300;
}

/* Overview Boxes */
.overview-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 30px;
}

.overview-boxes .box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--white);
  padding: 25px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.overview-boxes .box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.overview-boxes .box .right-side {
  display: flex;
  flex-direction: column;
}

.overview-boxes .box .box-topic {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.overview-boxes .box .number {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.overview-boxes .box .number.text-primary {
  color: var(--primary-color);
}

.overview-boxes .box .number.text-success {
  color: var(--success);
}

.overview-boxes a.box.download-box,
.overview-boxes a.box.download-box-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.overview-boxes a.box.download-box:hover,
.overview-boxes a.box.download-box-link:hover {
  text-decoration: none;
  color: inherit;
}

.overview-boxes .box.products-box .number,
.overview-boxes .box.download-box .number {
  font-size: 18px;
  line-height: 1.35;
  word-break: break-word;
  max-width: min(100%, 280px);
}

.access-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.access-items-list .access-item + .access-item {
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
}

.access-items-list .access-item-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  word-break: break-word;
  max-width: min(100%, 280px);
}

.access-items-list .access-item-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.access-items-list--compact .access-item + .access-item {
  margin-top: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.indicator-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.overview-boxes .box .indicator {
  display: flex;
  align-items: center;
}

.overview-boxes .box .indicator i {
  font-size: 18px;
  color: var(--success);
  margin-right: 6px;
}

.overview-boxes .box .indicator.text-sm i {
  color: var(--text-light);
  font-size: 16px;
}

.overview-boxes .box .indicator .text {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
}

.overview-boxes .box .indicator.text-sm .text {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 400;
}

.overview-boxes .box .cart {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 65px;
  width: 65px;
  background: var(--bg-blue);
  border-radius: 16px;
  font-size: 32px;
  color: var(--primary-color);
  align-self: center;
}

.overview-boxes .box .cart.two {
  background: var(--bg-orange);
  color: var(--warning);
}

.overview-boxes .box .cart.three {
  background: var(--bg-green);
  color: var(--success);
}

/* Active Resources Section */
.active-resources .section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
}

.active-resources .section-title h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.active-resources .section-title p {
  font-size: 14px;
  color: var(--text-light);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

.tool-card {
  background: var(--white);
  padding: 30px 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.tool-icon {
  height: 55px;
  width: 55px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.tool-card:hover .tool-icon {
  transform: scale(1.1);
}

.tool-icon.bg-envato {
  background: var(--bg-envato);
  color: var(--envato-color);
}
.tool-icon.bg-blue {
  background: var(--bg-blue);
  color: var(--primary-color);
}
.tool-icon.bg-orange {
  background: var(--bg-orange);
  color: #f97316;
}
.tool-icon.bg-green {
  background: var(--bg-green);
  color: var(--success);
}
.tool-icon.bg-gray {
  background: var(--bg-gray);
  color: var(--text-light);
}

.tool-info {
  margin-bottom: 18px;
}

.tool-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0;
}

/* categorized tools: no description under title */
#amember-active-tools-grid .tool-info {
  margin-bottom: 20px;
}

.tool-info p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 25px;
}

.access-btn {
  width: 100%;
  padding: 12px;
  border: 1px solid #e2e8f0;
  background: transparent;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  box-sizing: border-box;
}

a.access-btn:visited {
  color: var(--text-dark);
}

.access-btn i {
  font-size: 18px;
  transition: var(--transition);
}

.tool-card:hover .access-btn {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.tool-card:hover .access-btn i {
  transform: translateX(4px);
}

/* Envato specific highlight if needed */
.envato-card {
  border-top: 4px solid var(--envato-color);
}

.freepik-card {
  border-top: 4px solid var(--primary-color);
}

.motion-card {
  border-top: 4px solid #f97316;
}

.tool-card.locked {
  opacity: 0.8;
  background: #f8fafc;
}

.btn-locked {
  background: var(--bg-gray);
  color: var(--text-light);
  border-color: transparent;
}

.tool-card.locked:hover .btn-locked {
  background: #e2e8f0;
  color: var(--text-dark);
  border-color: transparent;
}

/* Common Card Section for Forms */
.section-card {
  background: var(--white);
  padding: 35px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
}

.section-card.wide-card {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

#active-plan-details-container {
  max-width: 850px !important;
  margin: 35px auto 0 auto !important;
}

.section-card h2 {
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.section-card .subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.custom-form .form-group {
  margin-bottom: 20px;
}

.custom-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.custom-form .form-control {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  background: #f8fafc;
}

.custom-form .form-control:focus {
  border-color: var(--primary-color);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(93, 72, 255, 0.1);
}

.custom-form small {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
}

.btn-primary {
  padding: 14px 28px;
  border: none;
  background: var(--primary-color);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: #4338ca;
  box-shadow: 0 4px 12px rgba(93, 72, 255, 0.3);
}

.btn-danger {
  padding: 14px 20px;
  border: none;
  background: var(--danger);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-danger:hover {
  background: #dc2626;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.mt-20 {
  margin-top: 20px;
}

/* Profile Image Upload */
.profile-image-upload {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.profile-preview {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e2e8f0;
}

.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-outline {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

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

.upload-btn-wrapper input[type="file"] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
}

#menu-close-btn {
  display: none;
}

/* Responsive */
@media (max-width: 991px) {
  .sidebar.active #menu-close-btn {
    display: block !important;
  }
  .sidebar.active .logo-details {
    padding: 0 15px 0 20px !important;
  }
  .sidebar {
    left: -260px;
  }
  .sidebar.active {
    left: 0;
    width: 260px;
  }
  .sidebar.active .logo-details .logo_full {
    display: block !important;
  }
  .sidebar.active .logo-details .logo_icon {
    display: none !important;
  }
  .sidebar.active .logo-details .logo_name,
  .sidebar.active .nav-links li a .links_name,
  .sidebar.active .profile-details .name-job,
  .sidebar.active .profile-details i {
    display: block;
  }
  .sidebar.active .profile-details {
    justify-content: space-between;
    padding: 15px 20px;
  }
  .home-section {
    width: 100%;
    left: 0;
  }
  .sidebar.active ~ .home-section {
    left: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .overview-boxes {
    grid-template-columns: 1fr;
    gap: 12px !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 20px !important;
  }
  .home-section nav {
    padding: 0 15px !important;
    height: 60px !important;
  }
  .main-content-container {
    padding: 0 15px !important;
    margin-top: 10px !important;
  }
  .sidebar.active ~ .home-section {
    left: 0;
    width: 100%;
  }
  .sidebar.active {
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  }

  /* Compact Welcome Card - Adjusted Slightly Larger */
  .welcome-card {
    padding: 18px 20px !important;
    margin-bottom: 20px !important;
    border-radius: 14px !important;
  }
  .welcome-card h2 {
    font-size: 18px !important;
    margin-bottom: 6px !important;
  }
  .welcome-card p {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  /* Compact Box Cards - Adjusted Slightly Larger */
  .overview-boxes .box {
    padding: 15px 20px !important;
    border-radius: 14px !important;
  }
  .overview-boxes .box .box-topic {
    font-size: 11px !important;
    margin-bottom: 4px !important;
  }
  .overview-boxes .box .number {
    font-size: 20px !important;
    margin-bottom: 8px !important;
  }
  .overview-boxes .box .cart {
    height: 48px !important;
    width: 48px !important;
    font-size: 22px !important;
    border-radius: 10px !important;
  }
  .overview-boxes .box .indicator .text,
  .overview-boxes .box .indicator.text-sm .text {
    font-size: 12px !important;
  }
  .overview-boxes .box .indicator i,
  .overview-boxes .box .indicator.text-sm i {
    font-size: 14px !important;
    margin-right: 5px !important;
  }
  .indicator-group {
    gap: 4px !important;
  }

  /* Compact Tools Section - Adjusted Slightly Larger */
  .active-resources .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px !important;
    margin-bottom: 16px !important;
  }
  .active-resources .section-title h2 {
    font-size: 18px !important;
  }
  .active-resources .section-title p {
    font-size: 12px !important;
  }
  .tools-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .tool-card {
    padding: 16px 12px !important;
    border-radius: 12px !important;
    max-width: none !important;
    width: 100% !important;
  }
  .tool-icon {
    height: 40px !important;
    width: 40px !important;
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }
  .tool-info {
    margin-bottom: 12px !important;
  }
  .tool-info h3 {
    font-size: 13.5px !important;
    margin-bottom: 4px !important;
  }
  .tool-info p {
    font-size: 11px !important;
    margin-bottom: 12px !important;
    line-height: 1.35 !important;
  }
  .access-btn {
    padding: 8px 12px !important;
    font-size: 11.5px !important;
    border-radius: 6px !important;
  }

  /* Compact section cards (forms/subscription/support pages) - Adjusted Slightly Larger */
  .section-card {
    padding: 24px 20px;
    border-radius: 14px !important;
  }
  .section-card h2 {
    font-size: 20px !important;
    margin-bottom: 6px !important;
  }
  .section-card .subtitle {
    font-size: 13px !important;
    margin-bottom: 20px !important;
  }
  .custom-form .form-group {
    margin-bottom: 16px !important;
  }
  .custom-form label {
    font-size: 13px !important;
    margin-bottom: 6px !important;
  }
  .custom-form .form-control {
    padding: 12px 14px !important;
    font-size: 13.5px !important;
    border-radius: 10px !important;
  }
  .btn-primary {
    padding: 12px 24px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }
  .profile-image-upload {
    gap: 16px !important;
    margin-bottom: 20px !important;
  }
  .profile-preview {
    width: 70px !important;
    height: 70px !important;
  }

  /* Compact Plans Page - Adjusted Slightly Larger */
  .plans-header {
    margin-bottom: 28px !important;
  }
  .plans-header h2 {
    font-size: 22px !important;
    margin-bottom: 8px !important;
  }
  .plans-header .subtitle {
    font-size: 13.5px !important;
  }
  .plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 30px !important;
  }
  .plan-card {
    padding: 30px 20px !important;
    border-radius: 14px !important;
  }
  .plan-icon {
    height: 58px !important;
    width: 58px !important;
    font-size: 24px !important;
    margin-bottom: 16px !important;
  }
  .plan-card h3 {
    font-size: 18px !important;
    margin-bottom: 6px !important;
  }
  .plan-limit {
    font-size: 12px !important;
    margin-bottom: 14px !important;
  }
  .plan-pricing {
    margin-bottom: 20px !important;
  }
  .plan-pricing .original-price {
    font-size: 14px !important;
    margin-bottom: 4px !important;
  }
  .plan-pricing .current-price {
    font-size: 28px !important;
  }
  .plan-pricing .price-period {
    font-size: 12px !important;
  }
  .plan-features {
    margin-bottom: 24px !important;
    gap: 8px !important;
  }
  .plan-features li {
    font-size: 13px !important;
    gap: 8px !important;
  }
  .plan-features li i {
    font-size: 15px !important;
  }
  .plan-btn {
    padding: 11px !important;
    font-size: 13.5px !important;
    border-radius: 10px !important;
  }
  .plan-badge {
    top: 14px !important;
    right: -36px !important;
    width: 120px !important;
    font-size: 8px !important;
    padding: 4px 0 !important;
  }

  /* Top Nav Optimization */
  .admin_name {
    display: none !important;
  }
  .home-section nav .sidebar-button span {
    display: none !important;
  }
  .center-logo {
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    top: 50% !important;
    position: absolute !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .center-logo img {
    height: 35px !important;
    max-width: 130px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 480px) {
  .plans-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .plan-card {
    padding: 24px 16px !important;
  }
}

/* Plans Page Styling */
.plans-container {
  max-width: 1200px;
  margin: 0 auto;
}

.plans-header {
  text-align: center;
  margin-bottom: 40px;
}

.plans-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.plans-header .subtitle {
  font-size: 16px;
  color: var(--text-light);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.plan-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-top: 4px solid var(--primary-color);
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(93, 72, 255, 0.12);
  border-color: rgba(93, 72, 255, 0.25);
}

.plan-card.featured {
  border: 2px solid var(--primary-color);
  border-top: 6px solid var(--primary-color);
  box-shadow: 0 15px 35px rgba(93, 72, 255, 0.12);
}

.plan-card.featured:hover {
  box-shadow: 0 25px 45px rgba(93, 72, 255, 0.22);
}

.plan-card.agency {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-top: 5px solid #f59e0b;
}

.plan-card.agency:hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.12);
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: -36px;
  width: 130px;
  text-align: center;
  background: var(--primary-color);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  padding: 5px 0;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.plan-card.agency .plan-badge {
  background: #f59e0b;
}

.plan-icon {
  height: 64px;
  width: 64px;
  border-radius: 16px;
  background: rgba(93, 72, 255, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.plan-card.agency .plan-icon {
  background: rgba(245, 158, 11, 0.08);
  color: #f59e0b;
}

.plan-card.featured .plan-icon {
  background: var(--primary-color);
  color: var(--white);
}

.plan-card:hover .plan-icon {
  transform: scale(1.08) rotate(5deg);
}

.plan-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.plan-limit {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.plan-pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  background: #f8fafc;
  padding: 12px 24px;
  border-radius: 12px;
  width: 100%;
}

.plan-pricing .original-price {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
  margin-bottom: 3px;
  font-weight: 500;
}

.plan-pricing .current-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
}

.plan-pricing .price-period {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 400;
}

.plan-features {
  width: 100%;
  list-style: none;
  margin-bottom: 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  font-size: 13.5px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li i {
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px;
  border-radius: 50%;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.plan-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(93, 72, 255, 0.15);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.plan-card.agency .plan-btn {
  background: #f59e0b;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.15);
}

.plan-card.featured .plan-btn {
  background: linear-gradient(135deg, var(--primary-color), #4338ca);
}

.plan-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(93, 72, 255, 0.28);
}

.plan-card.agency .plan-btn:hover {
  box-shadow: 0 6px 15px rgba(245, 158, 11, 0.28);
}

/* Full Bleed View for Iframe Screens */
.full-bleed-view {
  margin: -10px -40px -50px -40px;
  height: calc(100vh - 80px);
  overflow: hidden;
}

.full-bleed-view iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
}

@media (max-width: 991px) {
  .full-bleed-view {
    margin: -10px -40px -50px -40px;
    height: calc(100vh - 80px);
  }
}

@media (max-width: 768px) {
  .full-bleed-view {
    margin: -10px -15px -50px -15px;
    height: calc(100vh - 60px);
  }
}

/* New Plans Design and Modal Styles */
.plans-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 20px;
  width: 100%;
}

.plans-header .plans-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.new-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  align-items: stretch;
}

.new-plan-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 22px;
  border: 1.5px solid #edf2f7;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.015);
}

.new-plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.05);
}

.new-plan-card.popular-card {
  border: 2px solid #5d48ff;
  box-shadow: 0 20px 30px rgba(93, 72, 255, 0.06);
}

.floating-best-choice {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #5d48ff;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 6px rgba(93, 72, 255, 0.15);
  z-index: 10;
}

.plan-badge-top {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #5d48ff;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.downloads-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 5px;
}

.plan-activation {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 25px;
}

.price-container {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 30px;
  display: flex;
  align-items: baseline;
}

.price-container .period {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  margin-left: 5px;
}

.plan-features-list {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-features-list li {
  font-size: 14px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.plan-features-list li i {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  -webkit-text-stroke: 0.5px; /* Thicker/bolder icon lines */
}

.plan-features-list li i.check-green {
  color: #15803d; /* Darker green */
  background: rgba(22, 163, 74, 0.15); /* Richer light green background */
}

.plan-features-list li i.check-red {
  color: #b91c1c; /* Darker red */
  background: rgba(220, 38, 38, 0.15); /* Richer light red background */
}

.plan-features-list li.text-red-cross {
  color: #94a3b8;
  text-decoration: line-through !important;
}

.card-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.view-tools-btn {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: #5d48ff;
  border: 1px solid #5d48ff;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.view-tools-btn:hover {
  background: rgba(93, 72, 255, 0.05);
}

.choose-plan-btn {
  width: 100%;
  padding: 14px;
  background: #f4f6fb;
  color: #0f172a;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.choose-plan-btn:hover {
  background: #e2e8f0;
}

.choose-plan-btn.active-btn {
  background: #5d48ff;
  color: #ffffff;
}

.choose-plan-btn.active-btn:hover {
  background: #4338ca;
  box-shadow: 0 4px 12px rgba(93, 72, 255, 0.25);
}

.choose-plan-btn.active-plan-btn {
  background: #fff7ed !important;
  color: #c2410c !important;
  border: 1px solid #fdba74 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.choose-plan-btn.downgrade-btn {
  background: #fff7ed !important;
  color: #c2410c !important;
  border: 1px solid #fdba74 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* Tools Modal Styles */
.tools-modal {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow: hidden;
  touch-action: none;
}

.tools-modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #ffffff;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  touch-action: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.tools-modal.show .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: var(--text-dark);
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
}

.modal-section {
  margin-bottom: 20px;
}

.modal-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #5d48ff;
  letter-spacing: 1.5px;
  margin: 25px 0 15px 0;
  display: flex;
  align-items: center;
  text-align: left;
}

.modal-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #f1f5f9;
  margin-left: 10px;
}

.modal-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 480px) {
  .modal-tools-grid {
    grid-template-columns: 1fr;
  }
}

.modal-tool-item {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.modal-tool-item.locked {
  opacity: 0.5;
  background: #f1f5f9;
}

.modal-tool-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
}

.modal-tool-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.modal-tool-status {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.modal-tool-status i {
  font-size: 16px;
  color: #64748b;
  display: flex;
  align-items: center;
}

/* Mobile Responsiveness for New Cards */
@media (max-width: 768px) {
  .new-plans-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }
  .new-plan-card {
    padding: 30px 24px;
    border-radius: 20px;
  }
  .downloads-title {
    font-size: 20px;
  }
  .price-container {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .plan-features-list {
    margin-bottom: 25px;
    gap: 12px;
  }
  .plan-features-list li {
    font-size: 13px;
  }
  .choose-plan-btn {
    padding: 12px;
    font-size: 13.5px;
  }
  .view-tools-btn {
    padding: 11px;
    font-size: 13px;
  }
}

/* Layout responsiveness for plans grid on desktop */
@media (min-width: 769px) {
  .new-plans-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .new-plans-grid .new-plan-card {
    grid-column: span 2;
  }
  .new-plans-grid .new-plan-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
}

/* Pricing Duration Select Dropdown */
.plan-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 30px;
  position: relative;
  z-index: 110; /* Ensure dropdown displays above pricing cards */
}

.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 340px; /* Increased width to prevent text wrap */
  font-family: var(--font-sans);
  z-index: 100;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid #edf2f7;
  border-radius: 99px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.custom-select-trigger:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(93, 72, 255, 0.15);
}

.custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--primary-color);
  border-radius: 20px 20px 0 0;
  border-bottom-color: transparent;
  box-shadow: none;
}

.custom-select-trigger svg.arrow {
  transition: transform 0.3s ease;
  color: var(--text-light);
}

.custom-select-wrapper.open svg.arrow {
  transform: rotate(180deg);
}

.custom-options {
  position: absolute;
  display: block;
  top: 100%;
  left: 0;
  right: 0;
  border: 1.5px solid #edf2f7;
  border-top: none;
  border-radius: 0 0 20px 20px;
  background: var(--white);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.custom-select-wrapper.open .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

.custom-option {
  position: relative;
  display: block;
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-option:hover {
  background: rgba(93, 72, 255, 0.05);
  color: var(--primary-color);
}

.custom-option.selected {
  color: #ffffff;
  background: var(--primary-color);
}

/* Micro-animation for price change */
.price-amount {
  display: inline-block;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.price-amount.fade-out {
  opacity: 0;
  transform: translateY(-4px);
}

/* Discount badge inside pricing card */
.price-discount-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  margin-left: 12px;
  align-self: center;
  font-family: var(--font-sans);
  border: 1px solid rgba(16, 185, 129, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  animation: badgePop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes badgePop {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Activation Modal Styles */
.activation-modal {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  touch-action: auto;
}

.activation-modal.show {
  display: flex;
}

.activation-modal-content {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: min(90vh, 880px);
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  padding: 22px;
  position: relative;
  animation: modalFadeIn 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.25) transparent;
  touch-action: pan-y;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

body.modal-open .activation-modal,
body.modal-open .activation-modal-content {
  touch-action: pan-y;
}

body.modal-open .activation-modal input,
body.modal-open .activation-modal textarea,
body.modal-open .activation-modal .upi-id-box {
  -webkit-user-select: text;
  user-select: text;
}

.activation-modal-content::-webkit-scrollbar {
  width: 6px;
}

.activation-modal-content::-webkit-scrollbar-track {
  background: transparent;
  margin: 15px 0;
}

.activation-modal-content::-webkit-scrollbar-thumb {
  background-color: rgba(15, 23, 42, 0.15);
  border-radius: 99px;
}

.activation-modal-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(15, 23, 42, 0.35);
}

@keyframes modalFadeIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.activation-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.activation-modal-header .modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.activation-modal-header .modal-subtitle {
  font-size: 13px;
  color: var(--text-light);
}

.activation-modal-close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.activation-modal-close-btn:hover {
  color: var(--text-dark);
}

/* Tabs */
.activation-tabs {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 15px;
}

.activation-tab-btn {
  flex: 1;
  padding: 10px 15px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border-radius: 10px;
  transition: var(--transition);
}

.activation-tab-btn.active {
  background: var(--white);
  color: var(--primary-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Tab content */
.activation-tab-content {
  display: none;
}

.activation-tab-content.active {
  display: block;
}

/* Table */
.activation-table {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
}

.activation-table-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}

.activation-table-row:not(:last-child) {
  border-bottom: 1px solid #f1f5f9;
}

.activation-table-row span {
  color: var(--text-light);
}

.activation-table-row strong {
  color: var(--text-dark);
}

/* Amount box */
.activation-amount-box {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  margin-bottom: 10px;
}

.activation-amount-box .amount-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.activation-amount-box .amount-val {
  font-size: 20px;
  font-weight: 800;
  color: #1d4ed8;
}

/* Timer */
.activation-timer {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #0f766e;
  margin-bottom: 12px;
}

/* QR Code Section */
.activation-qr-section {
  text-align: center;
  margin-bottom: 12px;
}

.activation-qr-section .qr-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 12px;
}

.upi-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.upi-icons img {
  height: 24px;
  object-fit: contain;
}

.qr-container {
  display: inline-block;
  background: var(--white);
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin-bottom: 10px;
}

.qr-container img {
  width: 190px;
  height: auto;
  display: block;
  max-width: 100%;
}

.btn-qr-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid #cbd5e1;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.btn-qr-download:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* UPI ID Box */
.upi-id-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 15px;
  margin-bottom: 15px;
}

.upi-id-box .upi-label {
  font-size: 13px;
  color: var(--text-dark);
}

.btn-copy-upi {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy-upi:hover {
  background: #f1f5f9;
}

/* Upload Screenshot Box */
.screenshot-upload-box {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.screenshot-upload-box:hover {
  border-color: var(--primary-color);
  background: rgba(93, 72, 255, 0.02);
}

.screenshot-upload-box .upload-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.screenshot-upload-box .upload-subtext {
  font-size: 12px;
  color: var(--text-light);
}

/* WhatsApp Verification Box */
.whatsapp-verification-box {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 25px;
}

.whatsapp-verification-box .wa-icon {
  font-size: 40px;
  color: #10b981;
  margin-bottom: 8px;
}

.whatsapp-verification-box .wa-box-title {
  font-size: 15px;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 6px;
}

.whatsapp-verification-box .wa-box-text {
  font-size: 13px;
  color: #047857;
  line-height: 1.5;
}

.btn-wa-activate {
  width: 100%;
  padding: 14px;
  border: none;
  background: #25d366;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-wa-activate:hover {
  background: #128c7e;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(93, 72, 255, 0.2);
}

.btn-primary:hover {
  background: #4338ca;
  box-shadow: 0 6px 16px rgba(93, 72, 255, 0.3);
}

@media (max-width: 576px) {
  .activation-modal {
    padding: 10px;
  }
  .activation-modal-content {
    padding: 15px 12px;
    border-radius: 16px;
    max-height: min(92vh, 880px);
  }
  .activation-modal-header {
    margin-bottom: 12px;
  }
  .activation-modal-header .modal-title {
    font-size: 18px;
  }
  .activation-modal-header .modal-subtitle {
    font-size: 11px;
  }
  .activation-tabs {
    margin-bottom: 12px;
  }
  .activation-tab-btn {
    padding: 8px 10px;
    font-size: 13px;
  }
  .activation-table {
    margin-bottom: 12px;
    padding: 10px;
  }
  .activation-table-row {
    padding: 4px 0;
    font-size: 13px;
  }
  .activation-amount-box {
    padding: 10px;
    margin-bottom: 10px;
  }
  .activation-amount-box .amount-val {
    font-size: 16px;
  }
  .activation-timer {
    margin-bottom: 12px;
  }
  .activation-qr-section {
    margin-bottom: 12px;
  }
  .qr-container {
    max-width: 170px;
    padding: 6px;
    margin-bottom: 8px;
    border-radius: 10px;
  }
  .qr-container img {
    width: 160px;
    height: auto;
  }
  .btn-qr-download {
    padding: 6px 12px;
    font-size: 12px;
  }
  .upi-id-box {
    padding: 8px 12px;
    margin-bottom: 12px;
    font-size: 12px;
  }
  .btn-copy-upi {
    padding: 4px 8px;
    font-size: 11px;
  }
  .screenshot-upload-box {
    padding: 12px 10px;
  }
  .screenshot-upload-box i {
    font-size: 24px !important;
  }
  .screenshot-upload-box .upload-text {
    font-size: 12px;
  }
  .screenshot-upload-box .upload-subtext {
    font-size: 10px;
  }
  .whatsapp-verification-box {
    padding: 15px;
  }
  .whatsapp-verification-box .wa-icon {
    font-size: 32px;
  }
}

/* Dashboard Happy Customers Grid Section */
.dash-customer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 15px;
}

.dash-customer-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.dash-customer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(93, 72, 255, 0.12);
  border-color: var(--primary-color);
}

.dash-customer-img-wrapper {
  width: 100%;
  aspect-ratio: 1080 / 2200;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  position: relative;
}

.dash-customer-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.dash-customer-card:hover .dash-customer-img-wrapper img {
  transform: scale(1.04);
}

.dash-customer-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 6px;
  padding: 4px 0;
}

@media (max-width: 1200px) {
  .dash-customer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .dash-customer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .dash-customer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .dash-customer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* Lightbox Modal CSS */
.g-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  padding: 40px 20px;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.g-modal-content {
  margin: auto;
  display: block;
  width: 100%;
  max-width: 500px;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--border-radius, 16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.25s ease-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.g-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #f8fafc;
  font-size: 38px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10001;
}

.g-close:hover {
  color: var(--primary-color);
}

.g-prev,
.g-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10002;
  user-select: none;
}

.g-prev {
  left: 24px;
}

.g-next {
  right: 24px;
}

.g-prev:hover,
.g-next:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* Dashboard FAQ Section Styles */
.dash-faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.dash-faq-item {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.dash-faq-item[open] {
  border-color: var(--primary-color);
  box-shadow: 0 6px 18px rgba(93, 72, 255, 0.1);
}

.dash-faq-item summary {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

.dash-faq-item summary::-webkit-details-marker {
  display: none;
}

.dash-faq-icon {
  font-size: 24px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.dash-faq-item[open] .dash-faq-icon {
  transform: rotate(180deg);
}

.dash-faq-content {
  padding: 0 24px 24px 24px;
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  border-top: 1px solid #f1f5f9;
  margin-top: 6px;
  padding-top: 18px;
}

/* Enhanced Mobile Responsiveness for Section Cards, Happy Customers & FAQ */
@media (max-width: 768px) {
  .section-card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .section-card h2 {
    font-size: 19px;
  }

  .section-card .subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .dash-customer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .dash-customer-card {
    border-radius: 12px;
  }

  .dash-customer-badge {
    font-size: 11px;
    padding: 4px 8px;
  }

  /* Lightbox Modal Mobile Polish */
  .g-modal {
    padding: 20px 10px;
  }

  .g-modal-content {
    max-width: 92vw;
    max-height: 75vh;
  }

  .g-close {
    top: 15px;
    right: 15px;
    font-size: 24px;
    width: 38px;
    height: 38px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .g-prev,
  .g-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .g-prev {
    left: 8px;
  }

  .g-next {
    right: 8px;
  }

  /* FAQ Accordion Mobile Polish */
  .dash-faq-container {
    gap: 12px;
    margin-top: 15px;
  }

  .dash-faq-item {
    border-radius: 12px;
  }

  .dash-faq-item summary {
    padding: 16px 18px;
    font-size: 15px;
  }

  .dash-faq-icon {
    font-size: 20px;
    margin-left: 10px;
    flex-shrink: 0;
  }

  .dash-faq-content {
    padding: 0 18px 18px 18px;
    font-size: 14px;
    line-height: 1.65;
  }
}

@media (max-width: 480px) {
  .section-card {
    padding: 16px 12px;
    border-radius: 12px;
  }

  .section-card h2 {
    font-size: 17px;
  }

  .dash-customer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .dash-customer-badge {
    font-size: 10px;
    padding: 3px 6px;
  }

  .dash-faq-item summary {
    padding: 14px 14px;
    font-size: 14px;
  }

  .dash-faq-content {
    padding: 0 14px 14px 14px;
    font-size: 13.5px;
  }
}

/* Sidebar Quick Links Dropdown Accordion */
.sidebar .nav-links li.nav-item-dropdown {
  height: auto;
  transition: max-height 0.3s ease;
}

.sidebar .nav-links li.nav-item-dropdown .dropdown-btn {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 18px;
}

/* Grey inactive row when accordion is open but no child page is selected */
.sidebar .nav-links li.nav-item-dropdown > a.dropdown-btn:not(.active),
.sidebar .nav-links li.nav-item-dropdown > a.dropdown-btn:not(.active):hover {
  background: transparent;
  color: var(--text-light);
  box-shadow: none;
}

.sidebar .nav-links li.nav-item-dropdown > a.dropdown-btn:not(.active):hover {
  background: var(--bg-gray);
  color: var(--text-dark);
}

.sidebar .nav-links li.nav-item-dropdown .dropdown-icon {
  margin-left: auto;
  font-size: 16px;
  min-width: unset;
  transition: transform 0.3s ease;
}

.sidebar .nav-links li.nav-item-dropdown.show-dropdown .dropdown-icon {
  transform: rotate(-180deg);
}

.sidebar .nav-links li.nav-item-dropdown .dropdown-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  list-style: none;
  padding-left: 0;
}

.sidebar .nav-links li.nav-item-dropdown.show-dropdown .dropdown-container {
  max-height: 320px;
  margin-top: 8px;
}

.sidebar .nav-links li.nav-item-dropdown .dropdown-container li {
  height: 38px;
  margin-bottom: 4px;
  margin-top: 4px;
}

.sidebar .nav-links li.nav-item-dropdown .dropdown-container li a {
  height: 100%;
  padding-left: 54px;
  font-size: 13.5px;
  color: var(--text-light);
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
}

.sidebar .nav-links li.nav-item-dropdown .dropdown-container li a:hover,
.sidebar .nav-links li.nav-item-dropdown .dropdown-container li a.active {
  color: var(--primary-color);
  background: var(--bg-blue);
  box-shadow: none;
}

.sidebar .nav-links li.nav-item-dropdown .dropdown-container li a i {
  min-width: unset;
  margin-right: 10px;
  font-size: 16px;
}

@media (min-width: 992px) {
  /* Hide arrow icon & container contents when sidebar is collapsed on desktop */
  .sidebar.active .nav-links li.nav-item-dropdown .dropdown-icon {
    display: none;
  }
  .sidebar.active .nav-links li.nav-item-dropdown .dropdown-container {
    display: none;
  }
}

/* Policy & Info View Card Grid styles */
.policy-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 25px;
}
.policy-card h2 {
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.policy-card h3 {
  font-size: 16px;
  color: var(--text-dark);
  margin-top: 20px;
  margin-bottom: 8px;
}
.policy-card p {
  color: var(--text-light);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.policy-card ul {
  padding-left: 20px;
  margin-bottom: 15px;
  color: var(--text-light);
  font-size: 14px;
}
.policy-card li {
  margin-bottom: 6px;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.info-box {
  background: var(--bg-gray);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}
.info-box i {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.info-box h4 {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.info-box p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 0;
}

/* About Us page */
.about-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-hero {
  background: #5d48ff;
  color: var(--white);
  border: none;
  padding: 40px 36px 32px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(93, 72, 255, 0.15);
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.about-hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.about-hero-orb--tr {
  right: -50px;
  top: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
}

.about-hero-orb--bl {
  left: 10%;
  bottom: -80px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.05);
}

.about-hero-inner {
  position: relative;
  z-index: 2;
}

.about-hero-badge {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 14px;
}

.about-hero h2 {
  margin: 0 0 12px;
  font-size: 28px;
  color: var(--white);
  font-weight: 800;
}

.about-hero-lead,
.about-hero-sub {
  max-width: 820px;
  line-height: 1.6;
}

.about-hero-lead {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--white);
  margin: 0 0 8px;
}

.about-hero-sub {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.about-hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 16px 10px;
  border-radius: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--white);
  text-transform: uppercase;
}

.about-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.about-card {
  margin-bottom: 0;
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--primary-color);
}

.about-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}

.about-card h2 i {
  color: var(--primary-color);
}

.about-card-body {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
}

.about-card-body p {
  margin: 0 0 12px;
}

.about-card-body p:last-child {
  margin-bottom: 0;
}

.about-tools-label {
  font-weight: 600;
  color: var(--text-dark) !important;
}

.about-tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.about-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
}

.about-tag--blue { background: rgba(93, 72, 255, 0.08); color: #5d48ff; }
.about-tag--green { background: rgba(16, 185, 129, 0.08); color: #10b981; }
.about-tag--orange { background: rgba(245, 158, 11, 0.08); color: #f59e0b; }
.about-tag--sky { background: rgba(14, 165, 233, 0.08); color: #0ea5e9; }
.about-tag--purple { background: rgba(124, 58, 237, 0.08); color: #7c3aed; }

.about-muted {
  font-size: 13px;
  color: var(--text-light) !important;
}

.about-feature-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 0;
  padding: 8px;
  border-radius: 10px;
}

.about-feature-icon {
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.about-feature-icon--violet { background: rgba(93, 72, 255, 0.08); color: #5d48ff; }
.about-feature-icon--green { background: rgba(16, 185, 129, 0.08); color: #10b981; }
.about-feature-icon--orange { background: rgba(245, 158, 11, 0.08); color: #f59e0b; }
.about-feature-icon--sky { background: rgba(14, 165, 233, 0.08); color: #0ea5e9; }
.about-feature-icon--purple { background: rgba(124, 58, 237, 0.08); color: #7c3aed; }

.about-feature-content h5 {
  margin: 0 0 4px;
  font-size: 14.5px;
  color: var(--text-dark);
  font-weight: 700;
}

.about-feature-content p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-light);
}

.about-creators-banner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
  background: linear-gradient(90deg, #f4f2ff 0%, #f8f9ff 55%, #f3f0ff 100%);
  border: 1px solid rgba(93, 72, 255, 0.14);
  border-left: 5px solid #5d48ff;
  border-radius: 16px;
  padding: 36px 32px;
}

.about-creators-copy h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-creators-copy h2 i {
  color: #5d48ff;
}

.about-creators-copy p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #64748b;
}

.about-creators-copy p:last-child {
  margin-bottom: 0;
}

.about-mission-card {
  background: #ffffff;
  border: 1px solid rgba(93, 72, 255, 0.14);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
  padding: 26px 22px;
  text-align: center;
}

.about-mission-kicker {
  font-size: 13.5px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.about-mission-text {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  color: #1e293b;
}

.about-mission-tagline {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #5d48ff;
}

@media (max-width: 991px) {
  .about-hero-grid,
  .about-grid-two,
  .about-creators-banner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 28px 18px 22px;
    border-radius: 16px;
  }

  .about-hero h2 {
    font-size: 22px;
  }

  .about-hero-grid,
  .about-grid-two,
  .about-creators-banner {
    grid-template-columns: 1fr;
  }

  .about-hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-creators-banner {
    padding: 24px 18px;
  }
}

/* Policy Documents Custom Design System */
.policy-doc-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 35px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid #e2e8f0;
}

.policy-doc-header {
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 25px;
  margin-bottom: 30px;
}

.policy-doc-header h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.policy-doc-meta {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.policy-doc-section {
  margin-bottom: 35px;
}

.policy-doc-section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 15px 0;
  border-left: 4px solid var(--primary-color);
  padding-left: 12px;
}

.policy-doc-section p {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 15px 0;
}

.policy-doc-list {
  margin: 0 0 20px 0;
  padding-left: 20px;
}

.policy-doc-list li {
  font-size: 13.5px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 8px;
}

.policy-doc-list li strong {
  color: var(--text-dark);
}

.policy-doc-callout {
  background: #f8fafc;
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  border-radius: 8px;
  margin: 25px 0;
}

.policy-doc-callout h4 {
  margin: 0 0 10px 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.policy-doc-callout p {
  margin: 0 0 10px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
}

.policy-doc-callout p:last-child {
  margin-bottom: 0;
}

.policy-doc-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 25px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  color: var(--text-light);
}

.policy-doc-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

/* Contact page */
.contact-page .policy-doc-header h1 i {
  color: #5d48ff;
}

.contact-lead {
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  margin: 10px 0 0;
  font-weight: 500;
}

.contact-sub {
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
  margin: 6px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}

.contact-card {
  border-radius: 16px;
  padding: 28px 22px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.contact-card--whatsapp {
  border: 1px solid #bbf7d0;
}

.contact-card--email {
  border: 1px solid #ddd6fe;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px;
}

.contact-icon--whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
}

.contact-icon--email {
  background: rgba(93, 72, 255, 0.1);
  color: #5d48ff;
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}

.contact-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 16px;
}

.contact-value {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
}

.contact-value--email {
  font-size: 14px;
  font-weight: 700;
  word-break: break-all;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
}

.contact-btn--whatsapp {
  background: #25d366;
}

.contact-btn--email {
  background: #5d48ff;
}

.contact-hours {
  background: #f4f2ff;
  border: 1px solid rgba(93, 72, 255, 0.08);
  border-left: 5px solid #5d48ff;
  border-radius: 12px;
  padding: 20px 22px;
  margin: 8px 0 0;
}

.contact-hours h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-hours h4 i {
  color: #5d48ff;
}

.contact-hours p {
  margin: 0 0 6px;
  font-size: 14px;
  color: #1e293b;
}

.contact-hours-note {
  margin: 12px 0 0 !important;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
  font-size: 13.5px !important;
  line-height: 1.6;
  color: #64748b !important;
}

.contact-footer {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-footer span {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.contact-footer strong {
  font-size: 13px;
  color: #5d48ff;
}

@media (max-width: 576px) {
  .policy-doc-container {
    padding: 22px 16px;
    border-radius: 12px;
  }
  
  .policy-doc-header h1 {
    font-size: 21px;
  }
  
  .contact-card {
    padding: 22px 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

html.sidebar-open-html,
body.sidebar-open {
  overflow: hidden !important;
  height: 100% !important;
}

