body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

#root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

* {
  color: white;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* This accounts for fixed header */
}

/* Starfield Animation */
.stars {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 2px;
  z-index: 1;
  animation: fly 3s linear infinite;
  transform-style: preserve-3d;
}

.stars:before,
.stars:after {
  content: "";
  position: absolute;
  width: inherit;
  height: inherit;
  box-shadow: inherit;
}

.stars:before {
  transform: translateZ(-300px);
  animation: fade1 3s linear infinite;
}

.stars:after {
  transform: translateZ(-600px);
  animation: fade2 3s linear infinite;
}

@keyframes fly {
  from {
    transform: translateZ(0px);
  }

  to {
    transform: translateZ(300px);
  }
}

@keyframes fade1 {
  from {
    opacity: .5;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade2 {
  from {
    opacity: 0;
  }

  to {
    opacity: .5;
  }
}

/* Landing Page Styles */
.landing-page {
  min-height: 100vh;
  color: #fff;
  position: relative;
  z-index: 2;
}

.container {
  margin: 0 auto;
  padding: 0 20px;
}

header {
  height: 80px;
  /* Fixed header height */
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.logo {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
}

.links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.links a:hover {
  color: #00f7ff;
}

.nav-item {
  align-self: center;
}

section {
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-margin-top: 50px;
  /* Keep this for smooth scrolling offset */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Language Toggle Styles */
.language-toggle {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px;
  border-radius: 20px;
  margin-left: 10px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #fff;
  padding: 5px 10px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lang-btn:active {
  background: #00f7ff;
  color: #000;
}

.lang-btn.active {
  background: #00f7ff;
  color: #000;
}

.lang-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 768px) {
  section {
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-margin-top: 118px;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

}

.hero {
  text-align: center;
}

.hero .info {
  opacity: 0;
  animation: scaleIn 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0;
  animation: slideInFromLeft 0.8s ease-out forwards, glowPulse 2s infinite;
  animation-delay: 0.5s;
}

.hero p {
  opacity: 0;
  animation: slideInFromRight 0.8s ease-out forwards;
  animation-delay: 0.7s;
}

.cta-button {
  background: #00f7ff;
  color: #000;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.9s;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 247, 255, 0.4);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  /* margin-top: 50px; */
}

.feature {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

/* Enhanced Plan Styles */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 20px;
}

.plan {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.plan.featured {
  border: 2px solid #00f7ff;
  background: rgba(0, 247, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.plan.featured::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shimmer 7s infinite linear;
  pointer-events: none;
}

.plan h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 20px 0;
  color: #00f7ff;
}

.plan ul {
  margin: 20px 0;
  text-align: left;
  flex-grow: 1;
}

.plan ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.plan ul li i {
  margin-top: 3px;
}

.plan .cta-button {
  width: 100%;
  margin-top: auto;
}

.plan:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 247, 255, 0.15);
}

.pricing-note {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-modal-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 247, 255, 0.2);
}

.pricing-modal-header h2 {
  color: #333;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.pricing-modal-header p {
  color: #666;
  font-size: 1rem;
}

/* Enhanced Comparison Table Styles */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 15px;
  text-align: center;
  color: #333;
  border: 1px solid #dee2e6;
}

.comparison-table th {
  background-color: #f0f0f0;
  color: #333;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 10;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table tr:nth-child(even):not(.table-light) {
  background-color: #f9f9f9;
}

.comparison-table tr:hover:not(.table-light) {
  background-color: rgba(0, 247, 255, 0.05);
}

.comparison-table .category-header {
  background-color: #e9ecef;
  font-size: 1.1rem;
  padding: 10px 15px;
}

.comparison-table .text-warning {
  color: #ff9800 !important;
}

.comparison-table .text-success {
  color: #28a745 !important;
}

.comparison-table .text-danger {
  color: #dc3545 !important;
}

.modal-inner {
  max-height: 85vh;
}

/* Responsive adjustments for the comparison table */
@media (max-width: 992px) {
  .comparison-table {
    font-size: 0.9rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 8px 10px;
  }
  
  .comparison-table small {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.8rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 6px 8px;
  }
  
  .comparison-table .d-none {
    display: none !important;
  }
  
  .comparison-table .category-header {
    font-size: 0.95rem;
  }
}

/* AI Quota Pricing Section */
.quota-pricing-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 20px;
}

.quota-pricing-card {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.quota-pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.quota-card-header {
  background: linear-gradient(135deg, #00f7ff 0%, #00b8d4 100%);
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.quota-card-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
}

.quota-card-header img {
  background: white;
  padding: 5px;
  border-radius: 50%;
}

.quota-card-body {
  padding: 20px;
  color: #333;
}

.quota-description {
  margin-bottom: 15px;
  color: #666;
  font-size: 0.95rem;
}

.quota-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 15px;
}

.price-tag {
  font-size: 1.8rem;
  font-weight: 700;
  color: #00b8d4;
}

.price-unit {
  color: #666;
  font-size: 0.9rem;
}

.quota-mode {
  margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(0, 247, 255, 0.05);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mode-label {
  font-weight: 500;
  color: #444;
}

.mode-price {
  color: #00b8d4;
  font-weight: 600;
}

/* Responsive adjustments for pricing */
@media (max-width: 992px) {
  .quota-pricing-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .quota-pricing-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .pricing-modal-wrapper .modal-inner {
    padding: 20px;
    width: 95%;
  }
  
  .comparison-table {
    font-size: 0.9rem;
  }
  
  .quota-card-header h3 {
    font-size: 1.1rem;
  }
  
  .price-tag {
    font-size: 1.5rem;
  }
}

.contact-form {
  display: flex;
  gap: 20px;
  justify-content: center;
  /* margin-top: 50px; */
}

.contact-form input {
  padding: 15px;
  border-radius: 25px;
  border: none;
  width: 300px;
}

/* Demo Section Styles */
.demo {
  background: rgba(0, 0, 0, 0.3);
}

.demo-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #00f7ff rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  /* margin-top: 30px; */
}

.demo-scroll::-webkit-scrollbar {
  height: 8px;
}

.demo-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.demo-scroll::-webkit-scrollbar-thumb {
  background: #00f7ff;
  border-radius: 4px;
}

.demo-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 20px 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background-color: rgba(255, 255, 255, 0.1);
  width: 450px;
  /* Increased width for 2 per row */
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 13px 10px -7px rgba(0, 247, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all .4s cubic-bezier(0.175, 0.885, 0, 1);
  margin-bottom: 30px;
  min-height: 400px;
}

.card:hover {
  box-shadow: 0px 30px 18px -8px rgba(0, 247, 255, 0.2);
  transform: scale(1.05, 1.05);
}

.card__info-hover {
  position: absolute;
  padding: 16px;
  width: 100%;
  opacity: 0;
  top: 0;
  z-index: 3;
}

.card__clock-info {
  float: right;
  color: #00f7ff;
}

.card__time {
  font-size: 12px;
  vertical-align: middle;
  margin-left: 5px;
}

.card__clock {
  width: 15px;
  vertical-align: middle;
  fill: #00f7ff;
}

.card__img,
.card__img--hover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 250px;
  /* Increased height for better visual */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card__img {
  visibility: hidden;
}

.card__img--hover {
  position: absolute;
  top: 0;
  height: 250px;
  /* Match the height above */
  transition: 0.2s all ease-out;
}

.card__info {
  /* background-color: rgba(0, 0, 0, 0.7); */
  padding: 16px 24px 24px 24px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.card__category {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 500;
  color: #00f7ff;
  margin-bottom: 5px;
}

.card__title {
  margin-top: 5px;
  margin-bottom: 10px;
  color: white;
}

.card__description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  flex-grow: 1;
  margin-bottom: 15px;
}

.card__description ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card__description li {
  padding: 6px 0;
  position: relative;
  padding-left: 20px;
}

.card__description li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00f7ff;
  font-weight: bold;
}

.card__cta {
  background: #00f7ff;
  color: #000;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  z-index: 10;
  width: 100%;
  transition: all 0.3s ease;
  margin-top: auto;
  align-self: flex-end;
}

.card__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 247, 255, 0.4);
}

.card__cta:active {
  transform: scale(0.95);
}

.card:hover .card__img--hover {
  height: 100%;
  opacity: 0.3;
}

.card:hover .card__info {
  background-color: transparent;
}

.card:hover .card__info-hover {
  opacity: 1;
}

/* Adjust responsive breakpoints for two cards per row */
@media (max-width: 1200px) {
  .video-container {
    width: 85%;
    padding-bottom: 47.8125%;
    /* 56.25% of 85% */
  }

  .card {
    width: 420px;
  }
}

@media (max-width: 992px) {
  .card {
    width: 380px;
  }
}

@media (max-width: 850px) {
  .card {
    width: 90%;
    max-width: 450px;
  }

  .demo-cards {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }
}

@media (max-width: 768px) {

  .features,
  .plans {
    grid-template-columns: 1fr;
  }

  .links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    transition: right 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateX(100%);
  }

  nav.active {
    right: 0;
    transform: translateX(0);
  }

  .links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .links li {
    opacity: 0;
    transform: translateX(50px);
  }

  nav.active .links li {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
  }

  nav.active .links li:nth-child(1) {
    transition-delay: 0.1s;
  }

  nav.active .links li:nth-child(2) {
    transition-delay: 0.2s;
  }

  nav.active .links li:nth-child(3) {
    transition-delay: 0.3s;
  }

  nav.active .links li:nth-child(4) {
    transition-delay: 0.4s;
  }

  nav.active .links li:nth-child(5) {
    transition-delay: 0.5s;
  }

  .links a {
    font-size: 1.5rem;
  }

  .get-started {
    margin-top: 1rem;
  }

  .features,
  .plans {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .contact-form {
    flex-direction: column;
    padding: 0 20px;
  }

  .contact-form input {
    width: 100%;
  }

  section {
    padding: 10px 20px;
  }

  .demo-card {
    min-width: 260px;
  }

  .card-image {
    height: 160px;
  }

  .modal-content {
    width: 95%;
    max-height: 80vh;
  }

  .video-modal {
    padding: 10px;
  }

  .language-toggle {
    margin: 20px 0;
  }

  .lang-btn {
    font-size: 16px;
    padding: 8px 15px;
  }

  .demo-card:hover,
  .plan:hover {
    transform: translateY(-5px) scale(1.01);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .feature,
  .plan {
    padding: 20px;
  }

  .price {
    font-size: 28px;
  }
}

/* Pricing Modal Styles */
.pricing-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pricing-modal.visible {
  opacity: 1;
}

.pricing-modal-content {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.pricing-modal-content.visible {
  transform: scale(1);
  opacity: 1;
}

.pricing-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: #000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.3s ease;
}

.pricing-modal .close-modal:hover {
  background: rgba(0, 0, 0, 0.2);
}

.comparison-table {
  width: 100%;
  background: white;
  margin-top: 10px;
}

/* Enhanced Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowPulse {
  0% {
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
  }

  50% {
    text-shadow: 0 0 20px rgba(0, 247, 255, 0.8), 0 0 30px rgba(0, 247, 255, 0.6);
  }

  100% {
    text-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
  }
}

/* Enhanced Component Animations */
.links a {
  position: relative;
  transition: color 0.3s ease;
}

.links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #00f7ff;
  transition: width 0.3s ease;
}

.links a:hover::after {
  width: 100%;
}

/* Reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Demo Modal Styles */
.demo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.demo-modal-header {
  margin-bottom: 20px;
}

.demo-modal-header h2 {
  margin-bottom: 10px;
}

.demo-modal-header .category {
  color: #666;
  font-size: 0.9em;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  margin-bottom: 20px;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.demo-description {
  padding: 20px 0;
}

.feature-section {
  margin: 20px 0;
}

.feature-section h3 {
  color: #333;
  margin-bottom: 10px;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Demo Modal Enhanced Styles */
.demo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 40px;
  backdrop-filter: blur(5px);
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

.demo-modal-content {
  background-color: rgba(255, 255, 255, 0.95);
  max-width: 1400px;
  width: 85%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 15px;
  padding: 30px 40px;
  margin: 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 247, 255, 0.2);
  transform: translateY(20px);
  opacity: 0;
  animation: slideUpFade 0.4s ease forwards;
}

.demo-modal-header {
  margin-bottom: 25px;
  border-bottom: 2px solid rgba(0, 247, 255, 0.2);
  padding-bottom: 15px;
}

.demo-modal-header h2 {
  margin-bottom: 8px;
  color: #333;
  font-size: 1.8rem;
  font-weight: 600;
}

.demo-modal-header .category {
  color: #333;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Video Container Updates */
.video-container {
  position: relative;
  width: 70%;
  /* Control width on larger screens */
  margin: 0 auto 25px;
  /* Center the video container */
  padding-bottom: 39.375%;
  /* 56.25% of 70% to maintain aspect ratio */
  height: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-container video,
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
  /* Changed from cover to contain */
  background: #000;
  /* Add black background for letterboxing */
}

.video-container video {
    object-fit: contain; /* Specific to the <video> element */
    background: #000;    /* Background for letterboxing if video aspect ratio differs */
}

.video-container iframe {
    border: 0; /* Explicitly remove any default iframe border */
}

.demo-description {
  padding: 0;
  /* Remove default padding */
  max-width: 85%;
  /* Limit text width for readability */
  margin: 0 auto;
  /* Center content */
  color: #444;
}

.demo-description p {
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.feature-section {
  background: rgba(0, 247, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  margin: 15px auto;
  /* Center align */
  max-width: 85%;
  /* Match description width */
  border-left: 4px solid #00f7ff;
}

.feature-section h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

.feature-section p {
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.demo-modal .close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: #333;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.demo-modal .close-modal:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: rotate(90deg);
}

/* Add new animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive Adjustments */
@media (max-width: 1200px) {
  .video-container {
    width: 85%;
    padding-bottom: 47.8125%;
    /* 56.25% of 85% */
  }
}

@media (max-width: 768px) {
  .demo-modal {
    padding: 15px;
  }

  .demo-modal-content {
    width: 95%;
    padding: 20px;
    margin: 10px;
    max-height: 85vh;
  }

  .video-container {
    width: 100%;
    padding-bottom: 56.25%;
  }

  .demo-description {
    max-width: 100%;
  }

  .demo-modal-header h2 {
    font-size: 1.5rem;
    padding-right: 40px;
  }

  .demo-description p {
    font-size: 1rem;
  }

  .feature-section {
    padding: 15px;
  }

  .feature-section h3 {
    font-size: 1.1rem;
  }

  .demo-modal .close-modal {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}

/* Custom Scrollbar for Modal */
.demo-modal-content::-webkit-scrollbar {
  width: 8px;
}

.demo-modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.demo-modal-content::-webkit-scrollbar-thumb {
  background: rgba(0, 247, 255, 0.5);
  border-radius: 4px;
}

.demo-modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 247, 255, 0.7);
}

/* Updated Demo Modal Styles */
.main-description {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 30px;
  text-align: start;
  padding: 0 15px;
}

.feature-section {
  background: rgba(0, 247, 255, 0.05);
  padding: 25px;
  border-radius: 12px;
  margin: 25px auto;
  max-width: 90%;
  border-left: 4px solid #00f7ff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-section h3 {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.feature-content {
  margin-top: 20px;
}

.feature-text {
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
}

.additional-notes {
  background: rgba(0, 247, 255, 0.08);
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
  font-style: italic;
  color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feature-section {
    padding: 20px;
    max-width: 95%;
  }

  .feature-section h3 {
    font-size: 1.2rem;
  }

  .main-description {
    font-size: 1.1rem;
    padding: 0 10px;
  }
}

/* New Pricing Modal Specific Styles */
.pricing-modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.pricing-modal-wrapper .modal-inner {
  background-color: white;
  max-width: 1400px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 15px;
  padding: 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 247, 255, 0.2);
}

.pricing-modal-wrapper .modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: #333;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pricing-modal-wrapper .modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: rotate(90deg);
}

/* Contact Section Styles */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
  position: relative;
  overflow: hidden;
  min-height: auto !important;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-cards-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  width: 300px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-card-content {
  text-align: center;
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}

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

.icon-wrapper img {
  width: 40px;
  height: 40px;
}

.contact-card h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 15px;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.5;
}

.contact-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.whatsapp .contact-button {
  background: #128C7E;
  color: white;
}

.instagram .contact-button {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  color: white;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.contact-button:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-cards-container {
    padding: 0 20px;
  }

  .contact-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 20px;
  }

  .contact-card:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .contact-cards-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact-card {
    width: 90%;
    max-width: 300px;
  }
}

.contact-title {
  position: relative;
  background: linear-gradient(120deg, #fff, #00f7ff, #fff);
  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shine 3s linear infinite, float 4s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(0, 247, 255, 0.3);
}

.title-underline {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00f7ff, transparent);
  animation: underlineExpand 1.5s ease-out forwards;
}

@keyframes shine {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: -200% center;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes underlineExpand {
  0% {
    width: 0;
    opacity: 0;
  }

  100% {
    width: 100px;
    opacity: 1;
  }
}

/* About Section Styles - Restored and Enhanced */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
  color: #00f7ff;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(0, 247, 255, 0.5);
  border-radius: 3px;
}

.story-text,
.vision-text,
.mission-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.story-section,
.vision-section,
.mission-section {
  position: relative;
  padding: 0 15px 15px 15px;
  border-left: 3px solid rgba(0, 247, 255, 0.3);
  margin-left: 15px;
  transition: all 0.3s ease;
}

.story-section:hover,
.vision-section:hover,
.mission-section:hover {
  border-left-color: #00f7ff;
  transform: translateX(5px);
}

.highlight-text {
  font-size: 1.2rem;
  color: #00f7ff;
  font-weight: 500;
  padding: 1rem;
  background: rgba(0, 247, 255, 0.1);
  border-radius: 8px;
  border-left: 4px solid #00f7ff;
  position: relative;
  overflow: hidden;
}

.highlight-text::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.1) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  animation: shimmer 5s infinite linear;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }

  100% {
    transform: translateX(100%) rotate(30deg);
  }
}

.story-text img,
.vision-text img,
.mission-text img {
  vertical-align: middle;
  margin: 0 5px;
  transition: transform 0.3s ease;
}

.story-text img:hover,
.vision-text img:hover,
.mission-text img:hover {
  transform: scale(1.2) rotate(10deg);
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Responsive Adjustments for About Section */
@media (max-width: 768px) {
  .about {
    opacity: 1 !important;
  }

  .about-content {
    padding: 15px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .story-text,
  .vision-text,
  .mission-text {
    font-size: 1rem;
  }

  .highlight-text {
    font-size: 1.1rem;
    padding: 0.8rem;
  }

  .lead {
    font-size: 1.15rem;
  }
}
html,
body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: #000 repeat top center;
}



@keyframes move-twink-back {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -10000px 5000px;
  }
}

/* Main Container Styling */
.signin-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
}

/* Form Styling */
#sign-form {
  padding: clamp(15px, 3vw, 25px);
  border-radius: 15px;
  width: 100%;
  max-width: min(420px, 90vw);
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 247, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.5s ease forwards;
}

#sign-form:hover {
  box-shadow: 0 15px 35px rgba(0, 247, 255, 0.2);
}

/* Form Toggle Styling */
.form-toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  background-color: rgba(51, 51, 51, 0.4);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.form-toggle {
  padding: 12px 25px;
  cursor: pointer;
  color: white;
  flex: 1;
  text-align: center;
  transition: all 0.3s ease;
  font-weight: 600;
  border-radius: 25px;
}

.form-toggle.active {
  background: linear-gradient(135deg, #00f7ff 0%, rgba(0, 247, 255, 0.6) 100%);
  box-shadow: 0 4px 10px rgba(0, 247, 255, 0.3);
}

.form-toggle:not(.active):hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Form Fields Styling */
.form-group {
  margin-bottom: 15px;
  position: relative;
}

.form-group label {
  margin-bottom: 8px;
  display: block;
  font-weight: 500;
  color: #fff;
}

.form-control {
  width: 100%;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.08);
  color: white !important;
  transition: all 0.3s ease;
  font-size: 16px;
}

.form-control:focus {
  outline: none;
  border-color: #00f7ff;
  box-shadow: 0 0 0 2px rgba(0, 247, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.12);
}

/* Google Sign In Button */
.google-signin-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 30px;
  background-color: #fff;
  border: none;
  width: 100%;
  max-width: 420px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 auto 15px;
}

.google-signin-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  background-color: #f8f9fa;
}

.google-signin-button:active {
  transform: translateY(1px);
}

.google-signin-button svg {
  font-size: 20px;
  margin-right: 8px;
}

/* Or Separator */
.or-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 15px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.or-separator::before,
.or-separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0 15px;
}

/* Submit Button Animation */
#submit {
  width: 100%;
  padding: 15px;
  border: none;
  background: transparent;
  position: relative;
  cursor: pointer;
  height: 60px;
  margin-top: 5px;
  transition: transform 0.3s ease;
}

#submit:hover {
  transform: translateY(-2px);
}

#rectwrap {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.siz {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.4s ease;
}

.siz svg {
  filter: drop-shadow(0 0 3px rgba(0, 247, 255, 0.5));
}

/* Loading Animation */
#load {
  position: relative;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
}

#load div {
  position: absolute;
  width: 20px;
  height: 36px;
  opacity: 0;
  font-family: Helvetica, Arial, sans-serif;
  animation: move 2s linear infinite;
  transform: rotate(180deg);
  color: #00f7ff;
  text-shadow: 0 0 5px rgba(0, 247, 255, 0.7);
}

#load div:nth-child(2) {
  animation-delay: 0.2s;
}

#load div:nth-child(3) {
  animation-delay: 0.4s;
}

#load div:nth-child(4) {
  animation-delay: 0.6s;
}

#load div:nth-child(5) {
  animation-delay: 0.8s;
}

#load div:nth-child(6) {
  animation-delay: 1s;
}

#load div:nth-child(7) {
  animation-delay: 1.2s;
}

@keyframes move {
  0% {
    left: 0;
    opacity: 0;
  }

  35% {
    left: 41%;
    transform: rotate(0deg);
    opacity: 1;
  }

  65% {
    left: 59%;
    transform: rotate(0deg);
    opacity: 1;
  }

  100% {
    left: 100%;
    transform: rotate(-180deg);
    opacity: 0;
  }
}

/* Signup Wheel Animation */
.signup-wheel {
  width: 30px;
  height: 30px;
  color: white;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Social Icons */
.social-icon {
  margin-top: 20px;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.social-icon a {
  margin: 0 15px;
  color: white;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.social-icon a:hover {
  transform: translateY(-5px) scale(1.1);
  opacity: 1;
  color: #00f7ff;
}

.social-icon .fs-1 {
  font-size: 32px !important;
  filter: drop-shadow(0 0 5px rgba(0, 247, 255, 0.5));
}

/* Error and Verification Messages */
.alert {
  border-radius: 8px;
  padding: 12px 15px;
  font-weight: 500;
  margin-top: 10px;
  animation: fadeIn 0.3s ease-in;
}

@media (max-width: 768px) {
  .alert {
    border-radius: 8px;
    padding: 12px 15px;
    font-weight: 500;
    margin: 0 !important;
    animation: fadeIn 0.3s ease-in;
  }

}

.alert-danger {
  background-color: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #ff6b6b;
}

.alert-success {
  background-color: rgba(40, 167, 69, 0.2);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #75e900;
}

/* Password Requirements Tooltip */
.alert-link.alert-danger {
  position: absolute;
  z-index: 5;
  width: 280px;
  background-color: rgba(33, 37, 41, 0.95);
  border: 1px solid rgba(220, 53, 69, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  font-size: 0.85rem !important;
  max-width: 300px;
}

.alert-link.alert-danger ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.alert-link.alert-danger ul li {
  margin: 5px 0;
}

/* Consent Form Styling */
.signupin-consent-form {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: clamp(5px, 3vw, 10px);
  width: min(90%, 800px);
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 247, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: scaleIn 0.4s ease forwards;
  transition: all 0.4s ease;
  z-index: 2;
}

.signupin-consent-form .alert {
  background-color: transparent;
  border: none;
  padding: 0;
}

.signupin-consent-form ul {
  padding-left: 0;
  list-style-type: none;
}

.signupin-consent-li {
  position: relative;
  padding: clamp(8px, 1vw, 10px) clamp(3px, 1vw, 5px) clamp(8px, 1vw, 10px) clamp(25px, 5vw, 35px);
  transition: all 0.3s ease;
  border-left: 3px solid #ce3131;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: clamp(1rem, 2vw, 1.5rem) !important;
  margin: 10px 0;
}

/* Announcement Modal Styling */
.announcement-modal-content {
  background-color: rgba(22, 22, 22, 0.95) !important;
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  animation: scaleIn 0.4s ease forwards;
  max-height: 75vh;
  width: min(95%, 600px);
  overflow-y: auto;
}

.announcement-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-header {
  padding: 15px;
  background-color: rgba(51, 51, 51, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.announcement-header:hover {
  background-color: rgba(75, 75, 75, 0.7) !important;
}

.announcement-content {
  padding: 15px;
  background-color: rgba(38, 38, 38, 0.7);
}

.announcement-modal-content::-webkit-scrollbar {
  width: 8px;
}

.announcement-modal-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.announcement-modal-content::-webkit-scrollbar-thumb {
  background: rgba(0, 247, 255, 0.5);
  border-radius: 4px;
}

.announcement-modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 247, 255, 0.7);
}

.announcement-modal-content .btn {
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.announcement-modal-content .btn-info {
  background: linear-gradient(135deg, #00f7ff 0%, rgba(0, 199, 255, 0.8) 100%);
  border: none;
  color: #000;
  font-weight: 600;
}

.announcement-modal-content .btn-secondary {
  background-color: rgba(133, 133, 133, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-modal-content .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Navigation and Language Toggle */
.home-btn,
.language-btn-div button {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  margin: 5px;
  z-index: 1;
}

.home-btn:hover,
.language-btn-div button:hover {
  background-color: rgba(0, 247, 255, 0.2);
  transform: translateY(-2px);
}

.language-btn-div {
  display: flex;
  z-index: 1;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
  #sign-form {
    padding: 15px;
    width: 90%;
    transform: translateY(-5%) !important;
  }

  .signupin-consent-form {
    width: 95%;
    padding: 15px;
    transform: translateY(-5%) !important;
    /* max-height: 80vh; */
  }

  .signupin-consent-li {
    font-size: 0.9rem !important;
    padding: 8px 5px 8px 25px;
  }

  .social-icon {
    margin-top: 15px;
    margin-bottom: 30px;
  }

  .google-signin-button {
    padding: 8px;
  }

  .form-toggle {
    padding: 8px 12px;
    font-size: 0.9rem !important;
  }

  .alert-link.alert-danger {
    width: 95%;
    left: 2.5%;
    font-size: 0.8rem !important;
  }

  .signupin-consent-btn {
    padding: 10px 25px;
    font-size: 1rem !important;
  }
}

@media (max-width: 480px) {
  .signupin-consent-li {
    font-size: 0.8rem !important;
    padding: 6px 3px 6px 20px;
  }

  .signupin-consent-btn {
    padding: 8px 20px;
    font-size: 0.9rem !important;
  }

  .form-control {
    padding: 8px 12px;
    font-size: 14px;
  }

  .form-toggle-container {
    margin-bottom: 15px;
  }

  .form-toggle {
    padding: 8px 10px;
    font-size: 0.85rem !important;
  }
}

/* Adjust button sizes */
.home-btn,
.language-btn-div button {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
}

/* Fix for zoom scaling */
@media (min-resolution: 1.25dppx) {

  #sign-form,
  .signupin-consent-form {
    transform: scale(0.9);
    transform-origin: center;
  }
}

@media (min-resolution: 1.5dppx) {

  #sign-form,
  .signupin-consent-form {
    transform: scale(0.85);
    transform-origin: center;
  }
}
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
}

.spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 123, 255, 0.2);
  border-radius: 50%;
  border-top-color: #00f7ff;
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 10px;
}

.loading-text {
  color: #00f7ff;
  font-size: 18px;
  font-weight: 500;
  animation: dots 1.5s infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dots {
  0%, 20% {
    content: "Loading";
  }
  40% {
    content: "Loading.";
  }
  60% {
    content: "Loading..";
  }
  80%, 100% {
    content: "Loading...";
  }
}

/* Modern Subscription Transaction Styles matching Paper/Quota Transaction styles */

/* Base container styles */
.subscription-transaction-container {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  color: #333;
  background-color: #f8f9fa;
}

/* Form styles */
.subscription-transaction-stripe-payment-form {
  width: 30vw;
  min-width: 500px;
  align-self: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 40px;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscription-transaction-stripe-payment-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

/* Email input styles */
.subscription-transaction-stripe-payment-email {
  color: black !important;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid rgba(50, 50, 93, 0.1);
  font-size: 16px;
  width: 100%;
  background: white;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.subscription-transaction-stripe-payment-email:focus {
  border-color: #0055DE;
  box-shadow: 0 0 0 1px rgba(0, 85, 222, 0.2);
  outline: none;
}

.subscription-transaction-stripe-payment-message {
  color: #6D6E78;
  font-size: 16px;
  line-height: 1.5;
  padding-top: 15px;
  text-align: center;
  font-weight: 500;
}

.subscription-transaction-stripe-payment-element {
  margin-bottom: 28px;
}

/* Button styles */
.subscription-transaction-stripe-payment-button {
  background: #0055DE !important;
  font-family: 'Quicksand', sans-serif;
  color: #ffffff;
  border-radius: 8px;
  border: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 85, 222, 0.2);
  width: 100%;
  letter-spacing: 0.5px;
}

.subscription-transaction-stripe-payment-button:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 12px rgba(0, 85, 222, 0.3);
  transform: translateY(-1px);
}

.subscription-transaction-stripe-payment-button:active {
  transform: translateY(1px);
}

.subscription-transaction-stripe-payment-button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* Spinner styles */
.subscription-transaction-stripe-payment-spinner,
.subscription-transaction-stripe-payment-spinner:before,
.subscription-transaction-stripe-payment-spinner:after {
  border-radius: 50%;
}

.subscription-transaction-stripe-payment-spinner {
  color: #ffffff;
  font-size: 22px;
  text-indent: -99999px;
  margin: 0px auto;
  position: relative;
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 2px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

.subscription-transaction-stripe-payment-spinner:before,
.subscription-transaction-stripe-payment-spinner:after {
  position: absolute;
  content: '';
}

.subscription-transaction-stripe-payment-spinner:before {
  width: 10.4px;
  height: 20.4px;
  background: #0055DE;
  border-radius: 20.4px 0 0 20.4px;
  top: -0.2px;
  left: -0.2px;
  -webkit-transform-origin: 10.4px 10.2px;
  transform-origin: 10.4px 10.2px;
  -webkit-animation: subscription-transaction-stripe-payment-loading 1.5s infinite ease 1s;
  animation: subscription-transaction-stripe-payment-loading 1.5s infinite ease 1s;
}

.subscription-transaction-stripe-payment-spinner:after {
  width: 10.4px;
  height: 10.2px;
  background: #0055DE;
  border-radius: 0 10.2px 10.2px 0;
  top: -0.1px;
  left: 10.2px;
  -webkit-transform-origin: 0px 10.2px;
  transform-origin: 0px 10.2px;
  -webkit-animation: subscription-transaction-stripe-payment-loading 1.5s infinite ease;
  animation: subscription-transaction-stripe-payment-loading 1.5s infinite ease;
}

/* Add a spinner container for the loading state */
.subscription-transaction-stripe-payment-spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 80px;
  margin-bottom: 20px;
}

/* Make the spinner more visible during loading state */
.subscription-transaction-stripe-payment-spinner-container .subscription-transaction-stripe-payment-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 85, 222, 0.2);
  border-radius: 50%;
  border-top-color: #0055DE;
  animation: subscription-transaction-stripe-payment-spinner-rotate 1s linear infinite;
}

@keyframes subscription-transaction-stripe-payment-spinner-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Payment status page */
.subscription-transaction-payment-status {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 30px;
  width: 30vw;
  min-width: 500px;
  min-height: 380px;
  align-self: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 40px;
  background-color: white;
  opacity: 0;
  animation: subscription-transaction-stripe-payment-fadeIn 0.8s ease-out forwards;
  margin-top: auto;
  margin-bottom: auto;
  transition: transform 0.3s ease;
}

.subscription-transaction-payment-status:hover {
  transform: translateY(-2px);
}

.subscription-transaction-stripe-payment-status-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  width: 56px;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.subscription-transaction-stripe-payment-heading {
  margin: 10px 0 0 0;
  color: #30313D;
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 24px;
}

.subscription-transaction-payment-message {
  margin: 10px 0;
  color: #6D6E78;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
}

.subscription-transaction-stripe-payment-details-table {
  overflow-x: auto;
  width: 100%;
  margin: 10px 0;
  border-radius: 8px;
  background-color: #f8f9fa;
  padding: 15px;
}

.subscription-transaction-stripe-payment-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
  font-family: 'Quicksand', sans-serif;
}

.subscription-transaction-stripe-payment-table tbody tr:first-child td {
  border-top: 1px solid #E6E6E6;
  padding-top: 12px;
}

.subscription-transaction-stripe-payment-table tbody tr:last-child td {
  border-bottom: 1px solid #E6E6E6;
}

.subscription-transaction-stripe-payment-table td {
  padding: 12px 4px;
}

.subscription-transaction-stripe-payment-table-content {
  text-align: right;
  color: #6D6E78;
  font-weight: 500;
}

.subscription-transaction-stripe-payment-table-label {
  font-weight: 600;
  color: #30313D;
}

.subscription-transaction-stripe-payment-return-button {
  background: #0055DE;
  font-family: 'Quicksand', sans-serif;
  color: #ffffff;
  border-radius: 8px;
  border: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 85, 222, 0.2);
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
  letter-spacing: 0.5px;
}

.subscription-transaction-stripe-payment-return-button:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 12px rgba(0, 85, 222, 0.3);
  transform: translateY(-1px);
}

.subscription-transaction-stripe-payment-return-button:active {
  transform: translateY(1px);
}

/* Subscription Checkout container styles */
.subscription-transaction-checkout-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 30px;
  background-color: #f8f9fa;
  font-family: 'Quicksand', sans-serif;
}

.subscription-transaction-checkout-container h2 {
  color: #30313D;
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 26px;
  text-align: center;
}

.subscription-transaction-checkout-container.subscription-transaction-loading, 
.subscription-transaction-checkout-container.subscription-transaction-error {
  text-align: center;
}

.subscription-transaction-checkout-container .spinner-border {
  width: 3rem;
  height: 3rem;
  color: #0055DE !important;
  margin-bottom: 20px;
}

.subscription-transaction-checkout-container .alert {
  border-radius: 10px;
  padding: 16px;
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Subscription details styling */
.subscription-transaction-details {
  margin-bottom: 30px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  background-color: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.subscription-transaction-details h3 {
  color: #30313D;
  margin-bottom: 10px;
  font-weight: 700;
}

.subscription-transaction-details p {
  color: #6D6E78;
  font-size: 18px;
  margin: 0;
}

/* WeChat Pay QR code container */
.subscription-transaction-wechat-pay-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 500px;
  width: 100%;
}

.subscription-transaction-wechat-pay-qr-container h3 {
  color: #30313D;
  margin-bottom: 15px;
  font-weight: 600;
}

.subscription-transaction-wechat-qr-code {
  max-width: 220px;
  height: auto;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.subscription-transaction-wechat-pay-qr-container p {
  color: #6D6E78;
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
}

/* Alipay redirect message */
.subscription-transaction-alipay-redirect-message {
  text-align: center;
  margin: 20px 0;
  padding: 25px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 500px;
  width: 100%;
}

.subscription-transaction-alipay-redirect-message p {
  color: #30313D;
  margin-bottom: 15px;
  font-size: 16px;
}

/* Animations */
@keyframes subscription-transaction-stripe-payment-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes subscription-transaction-stripe-payment-fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .subscription-transaction-checkout-container {
    padding: 15px;
  }
  
  .subscription-transaction-details {
    padding: 15px;
  }
  
  .subscription-transaction-stripe-payment-form {
    min-width: unset;
    width: 90%;
    padding: 20px;
  }
  
  .subscription-transaction-checkout-container h2 {
    font-size: 22px;
  }
  
  .subscription-transaction-payment-status {
    width: 90vw;
    min-width: initial;
    padding: 30px;
  }
  
  .subscription-transaction-stripe-payment-heading {
    font-size: 22px;
  }
}

/* Modern Paper Transaction Styles matching Subscription styles */

/* Base container styles */
.paper-transaction-container {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  color: #333;
  background-color: #f8f9fa;
}

/* Form styles */
.paper-transaction-stripe-payment-form {
  width: 30vw;
  min-width: 500px;
  align-self: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 40px;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paper-transaction-stripe-payment-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

/* Email input styles */
.paper-transaction-stripe-payment-email {
  color: black !important;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid rgba(50, 50, 93, 0.1);
  font-size: 16px;
  width: 100%;
  background: white;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.paper-transaction-stripe-payment-email:focus {
  border-color: #0055DE;
  box-shadow: 0 0 0 1px rgba(0, 85, 222, 0.2);
  outline: none;
}

.paper-transaction-stripe-payment-message {
  color: #6D6E78;
  font-size: 16px;
  line-height: 1.5;
  padding-top: 15px;
  text-align: center;
  font-weight: 500;
}

.paper-transaction-stripe-payment-element {
  margin-bottom: 28px;
}

/* Button styles */
.paper-transaction-stripe-payment-button {
  background: #0055DE !important;
  font-family: 'Quicksand', sans-serif;
  color: #ffffff;
  border-radius: 8px;
  border: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 85, 222, 0.2);
  width: 100%;
  letter-spacing: 0.5px;
}

.paper-transaction-stripe-payment-button:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 12px rgba(0, 85, 222, 0.3);
  transform: translateY(-1px);
}

.paper-transaction-stripe-payment-button:active {
  transform: translateY(1px);
}

.paper-transaction-stripe-payment-button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* Spinner styles */
.paper-transaction-stripe-payment-spinner,
.paper-transaction-stripe-payment-spinner:before,
.paper-transaction-stripe-payment-spinner:after {
  border-radius: 50%;
}

.paper-transaction-stripe-payment-spinner {
  color: #ffffff;
  font-size: 22px;
  text-indent: -99999px;
  margin: 0px auto;
  position: relative;
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 2px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

.paper-transaction-stripe-payment-spinner:before,
.paper-transaction-stripe-payment-spinner:after {
  position: absolute;
  content: '';
}

.paper-transaction-stripe-payment-spinner:before {
  width: 10.4px;
  height: 20.4px;
  background: #0055DE;
  border-radius: 20.4px 0 0 20.4px;
  top: -0.2px;
  left: -0.2px;
  -webkit-transform-origin: 10.4px 10.2px;
  transform-origin: 10.4px 10.2px;
  -webkit-animation: paper-transaction-stripe-payment-loading 1.5s infinite ease 1s;
  animation: paper-transaction-stripe-payment-loading 1.5s infinite ease 1s;
}

.paper-transaction-stripe-payment-spinner:after {
  width: 10.4px;
  height: 10.2px;
  background: #0055DE;
  border-radius: 0 10.2px 10.2px 0;
  top: -0.1px;
  left: 10.2px;
  -webkit-transform-origin: 0px 10.2px;
  transform-origin: 0px 10.2px;
  -webkit-animation: paper-transaction-stripe-payment-loading 1.5s infinite ease;
  animation: paper-transaction-stripe-payment-loading 1.5s infinite ease;
}

/* Add a spinner container for the loading state */
.paper-transaction-stripe-payment-spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 80px;
  margin-bottom: 20px;
}

/* Make the spinner more visible during loading state */
.paper-transaction-stripe-payment-spinner-container .paper-transaction-stripe-payment-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 85, 222, 0.2);
  border-radius: 50%;
  border-top-color: #0055DE;
  animation: paper-transaction-stripe-payment-spinner-rotate 1s linear infinite;
}

@keyframes paper-transaction-stripe-payment-spinner-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Payment status page */
.paper-transaction-payment-status {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 30px;
  width: 30vw;
  min-width: 500px;
  min-height: 380px;
  align-self: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 40px;
  background-color: white;
  opacity: 0;
  animation: paper-transaction-stripe-payment-fadeIn 0.8s ease-out forwards;
  margin-top: auto;
  margin-bottom: auto;
  transition: transform 0.3s ease;
}

.paper-transaction-payment-status:hover {
  transform: translateY(-2px);
}

.paper-transaction-stripe-payment-status-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  width: 56px;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.paper-transaction-stripe-payment-heading {
  margin: 10px 0 0 0;
  color: #30313D;
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 24px;
}

.paper-transaction-payment-message {
  margin: 10px 0;
  color: #6D6E78;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
}

.paper-transaction-stripe-payment-details-table {
  overflow-x: auto;
  width: 100%;
  margin: 10px 0;
  border-radius: 8px;
  background-color: #f8f9fa;
  padding: 15px;
}

.paper-transaction-stripe-payment-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
  font-family: 'Quicksand', sans-serif;
}

.paper-transaction-stripe-payment-table tbody tr:first-child td {
  border-top: 1px solid #E6E6E6;
  padding-top: 12px;
}

.paper-transaction-stripe-payment-table tbody tr:last-child td {
  border-bottom: 1px solid #E6E6E6;
}

.paper-transaction-stripe-payment-table td {
  padding: 12px 4px;
}

.paper-transaction-stripe-payment-table-content {
  text-align: right;
  color: #6D6E78;
  font-weight: 500;
}

.paper-transaction-stripe-payment-table-label {
  font-weight: 600;
  color: #30313D;
}

.paper-transaction-stripe-payment-return-button {
  background: #0055DE;
  font-family: 'Quicksand', sans-serif;
  color: #ffffff;
  border-radius: 8px;
  border: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 85, 222, 0.2);
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
  letter-spacing: 0.5px;
}

.paper-transaction-stripe-payment-return-button:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 12px rgba(0, 85, 222, 0.3);
  transform: translateY(-1px);
}

.paper-transaction-stripe-payment-return-button:active {
  transform: translateY(1px);
}

/* Paper Checkout container styles */
.paper-transaction-checkout-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 30px;
  background-color: #f8f9fa;
  font-family: 'Quicksand', sans-serif;
}

.paper-transaction-checkout-container h2 {
  color: #30313D;
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 26px;
  text-align: center;
}

.paper-transaction-checkout-container.paper-transaction-loading, 
.paper-transaction-checkout-container.paper-transaction-error {
  text-align: center;
}

.paper-transaction-checkout-container .spinner-border {
  width: 3rem;
  height: 3rem;
  color: #0055DE !important;
  margin-bottom: 20px;
}

.paper-transaction-checkout-container .alert {
  border-radius: 10px;
  padding: 16px;
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Paper details styling */
.paper-transaction-details {
  margin-bottom: 30px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  background-color: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.paper-transaction-details-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.paper-transaction-details-row:last-child {
  border-bottom: none;
}

.paper-transaction-details-divider {
  border-top: 2px solid #e0e0e0;
  margin: 10px 0;
}

.paper-transaction-details-row.paper-transaction-total {
  font-weight: 600;
  font-size: 18px;
  border-bottom: none;
  padding-top: 15px;
}

.paper-transaction-fee-note {
  margin-top: 15px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #0055DE;
}

.paper-transaction-fee-note small {
  color: #6c757d;
  font-size: 12px;
  line-height: 1.4;
}

.paper-transaction-details h3 {
  color: #30313D;
  margin-bottom: 10px;
  font-weight: 700;
}

.paper-transaction-payment-details {
  margin-bottom: 25px;
  text-align: center;
}

.paper-transaction-payment-details h3 {
  color: #30313D;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 20px;
}

.paper-transaction-payment-details p {
  color: #6D6E78;
  font-size: 18px;
  margin: 5px 0;
}

/* WeChat Pay QR code container */
.paper-transaction-wechat-pay-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 500px;
  width: 100%;
}

.paper-transaction-wechat-pay-qr-container h3 {
  color: #30313D;
  margin-bottom: 15px;
  font-weight: 600;
}

.paper-transaction-wechat-qr-code {
  max-width: 220px;
  height: auto;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.paper-transaction-wechat-pay-qr-container p {
  color: #6D6E78;
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
}

/* Alipay redirect message */
.paper-transaction-alipay-redirect-message {
  text-align: center;
  margin: 20px 0;
  padding: 25px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 500px;
  width: 100%;
}

.paper-transaction-alipay-redirect-message p {
  color: #30313D;
  margin-bottom: 15px;
  font-size: 16px;
}

/* Paper market modal styling */
.paper-transaction-payment-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.paper-transaction-payment-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background-color: white;
  border-radius: 16px;
  padding: 30px;
  z-index: 1001;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.paper-transaction-payment-modal h3 {
  color: #30313D;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

.paper-transaction-payment-modal p {
  color: #6D6E78;
  margin-bottom: 25px;
  text-align: center;
  font-size: 16px;
}

.paper-transaction-payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}

.paper-transaction-payment-method-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 120px;
}

.paper-transaction-payment-method-option:hover {
  background-color: #f8f9fa;
}

.paper-transaction-payment-method-option.selected {
  border-color: #0055DE;
  background-color: rgba(0, 85, 222, 0.05);
}

.paper-transaction-payment-method-option img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.paper-transaction-payment-method-option span {
  font-size: 14px;
  color: #30313D;
  text-align: center;
}

.paper-transaction-payment-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
}

.paper-transaction-payment-actions button {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.paper-transaction-cancel-btn {
  background-color: #f2f2f2;
  border: none;
  color: #666;
}

.paper-transaction-cancel-btn:hover {
  background-color: #e5e5e5;
}

.paper-transaction-proceed-btn {
  background-color: #0055DE;
  border: none;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 85, 222, 0.2);
}

.paper-transaction-proceed-btn:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 12px rgba(0, 85, 222, 0.3);
}

.paper-transaction-proceed-btn:disabled {
  opacity: 0.6;
  cursor: default;
  filter: none;
  box-shadow: none;
}

/* Animations */
@keyframes paper-transaction-stripe-payment-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes paper-transaction-stripe-payment-fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Modern Quota Transaction Styles matching Paper Transaction styles */

/* Base container styles */
.quota-transaction-container {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  color: #333;
  background-color: #f8f9fa;
}

/* Form styles */
.quota-transaction-stripe-payment-form {
  width: 30vw;
  min-width: 500px;
  align-self: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 40px;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quota-transaction-stripe-payment-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

/* Email input styles */
.quota-transaction-stripe-payment-email {
  color: black !important;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid rgba(50, 50, 93, 0.1);
  font-size: 16px;
  width: 100%;
  background: white;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quota-transaction-stripe-payment-email:focus {
  border-color: #0055DE;
  box-shadow: 0 0 0 1px rgba(0, 85, 222, 0.2);
  outline: none;
}

.quota-transaction-stripe-payment-message {
  color: #6D6E78;
  font-size: 16px;
  line-height: 1.5;
  padding-top: 15px;
  text-align: center;
  font-weight: 500;
}

.quota-transaction-stripe-payment-element {
  margin-bottom: 28px;
}

/* Button styles */
.quota-transaction-stripe-payment-button {
  background: #0055DE !important;
  font-family: 'Quicksand', sans-serif;
  color: #ffffff;
  border-radius: 8px;
  border: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 85, 222, 0.2);
  width: 100%;
  letter-spacing: 0.5px;
}

.quota-transaction-stripe-payment-button:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 12px rgba(0, 85, 222, 0.3);
  transform: translateY(-1px);
}

.quota-transaction-stripe-payment-button:active {
  transform: translateY(1px);
}

.quota-transaction-stripe-payment-button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* Spinner styles */
.quota-transaction-stripe-payment-spinner,
.quota-transaction-stripe-payment-spinner:before,
.quota-transaction-stripe-payment-spinner:after {
  border-radius: 50%;
}

.quota-transaction-stripe-payment-spinner {
  color: #ffffff;
  font-size: 22px;
  text-indent: -99999px;
  margin: 0px auto;
  position: relative;
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 2px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

.quota-transaction-stripe-payment-spinner:before,
.quota-transaction-stripe-payment-spinner:after {
  position: absolute;
  content: '';
}

.quota-transaction-stripe-payment-spinner:before {
  width: 10.4px;
  height: 20.4px;
  background: #0055DE;
  border-radius: 20.4px 0 0 20.4px;
  top: -0.2px;
  left: -0.2px;
  -webkit-transform-origin: 10.4px 10.2px;
  transform-origin: 10.4px 10.2px;
  -webkit-animation: quota-transaction-stripe-payment-loading 1.5s infinite ease 1s;
  animation: quota-transaction-stripe-payment-loading 1.5s infinite ease 1s;
}

.quota-transaction-stripe-payment-spinner:after {
  width: 10.4px;
  height: 10.2px;
  background: #0055DE;
  border-radius: 0 10.2px 10.2px 0;
  top: -0.1px;
  left: 10.2px;
  -webkit-transform-origin: 0px 10.2px;
  transform-origin: 0px 10.2px;
  -webkit-animation: quota-transaction-stripe-payment-loading 1.5s infinite ease;
  animation: quota-transaction-stripe-payment-loading 1.5s infinite ease;
}

/* Add a spinner container for the loading state */
.quota-transaction-stripe-payment-spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 80px;
  margin-bottom: 20px;
}

/* Make the spinner more visible during loading state */
.quota-transaction-stripe-payment-spinner-container .quota-transaction-stripe-payment-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 85, 222, 0.2);
  border-radius: 50%;
  border-top-color: #0055DE;
  animation: quota-transaction-stripe-payment-spinner-rotate 1s linear infinite;
}

@keyframes quota-transaction-stripe-payment-spinner-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Payment status page */
.quota-transaction-payment-status {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 30px;
  width: 30vw;
  min-width: 500px;
  min-height: 380px;
  align-self: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 40px;
  background-color: white;
  opacity: 0;
  animation: quota-transaction-stripe-payment-fadeIn 0.8s ease-out forwards;
  margin-top: auto;
  margin-bottom: auto;
  transition: transform 0.3s ease;
}

.quota-transaction-payment-status:hover {
  transform: translateY(-2px);
}

.quota-transaction-stripe-payment-status-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  width: 56px;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.quota-transaction-stripe-payment-heading {
  margin: 10px 0 0 0;
  color: #30313D;
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 24px;
}

.quota-transaction-payment-message {
  margin: 10px 0;
  color: #6D6E78;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
}

.quota-transaction-stripe-payment-details-table {
  overflow-x: auto;
  width: 100%;
  margin: 10px 0;
  border-radius: 8px;
  background-color: #f8f9fa;
  padding: 15px;
}

.quota-transaction-stripe-payment-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
  font-family: 'Quicksand', sans-serif;
}

.quota-transaction-stripe-payment-table tbody tr:first-child td {
  border-top: 1px solid #E6E6E6;
  padding-top: 12px;
}

.quota-transaction-stripe-payment-table tbody tr:last-child td {
  border-bottom: 1px solid #E6E6E6;
}

.quota-transaction-stripe-payment-table td {
  padding: 12px 4px;
}

.quota-transaction-stripe-payment-table-content {
  text-align: right;
  color: #6D6E78;
  font-weight: 500;
}

.quota-transaction-stripe-payment-table-label {
  font-weight: 600;
  color: #30313D;
}

.quota-transaction-stripe-payment-return-button {
  background: #0055DE;
  font-family: 'Quicksand', sans-serif;
  color: #ffffff;
  border-radius: 8px;
  border: 0;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 85, 222, 0.2);
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
  letter-spacing: 0.5px;
}

.quota-transaction-stripe-payment-return-button:hover {
  filter: brightness(110%);
  box-shadow: 0 6px 12px rgba(0, 85, 222, 0.3);
  transform: translateY(-1px);
}

.quota-transaction-stripe-payment-return-button:active {
  transform: translateY(1px);
}

/* Quota Checkout container styles */
.quota-transaction-checkout-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 30px;
  background-color: #f8f9fa;
  font-family: 'Quicksand', sans-serif;
}

.quota-transaction-checkout-container h2 {
  color: #30313D;
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 26px;
  text-align: center;
}

.quota-transaction-checkout-container.quota-transaction-loading, 
.quota-transaction-checkout-container.quota-transaction-error {
  text-align: center;
}

.quota-transaction-checkout-container .spinner-border {
  width: 3rem;
  height: 3rem;
  color: #0055DE !important;
  margin-bottom: 20px;
}

.quota-transaction-checkout-container .alert {
  border-radius: 10px;
  padding: 16px;
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Quota details styling */
.quota-transaction-details {
  margin-bottom: 30px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  background-color: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.quota-transaction-details h3 {
  color: #30313D;
  margin-bottom: 15px;
  font-weight: 700;
}

.quota-transaction-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quota-transaction-details-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.quota-transaction-details-row:last-child {
  border-bottom: none;
}

.quota-transaction-details-row.quota-transaction-total {
  border-top: 2px solid rgba(0, 85, 222, 0.3);
  margin-top: 10px;
  padding-top: 15px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #0055DE;
  border-bottom: none;
}

.quota-transaction-payment-details {
  margin-bottom: 25px;
  text-align: center;
}

.quota-transaction-payment-details h3 {
  color: #30313D;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 20px;
}

.quota-transaction-payment-details p {
  color: #6D6E78;
  font-size: 18px;
  margin: 5px 0;
}

/* WeChat Pay QR code container */
.quota-transaction-wechat-pay-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
  padding: 20px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 500px;
  width: 100%;
}

.quota-transaction-wechat-pay-qr-container h3 {
  color: #30313D;
  margin-bottom: 15px;
  font-weight: 600;
}

.quota-transaction-wechat-qr-code {
  max-width: 220px;
  height: auto;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quota-transaction-wechat-pay-qr-container p {
  color: #6D6E78;
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
}

/* Alipay redirect message */
.quota-transaction-alipay-redirect-message {
  text-align: center;
  margin: 20px 0;
  padding: 25px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  max-width: 500px;
  width: 100%;
}

.quota-transaction-alipay-redirect-message p {
  color: #30313D;
  margin-bottom: 15px;
  font-size: 16px;
}

/* Animations */
@keyframes quota-transaction-stripe-payment-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes quota-transaction-stripe-payment-fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .quota-transaction-checkout-container {
    padding: 15px;
  }
  
  .quota-transaction-details {
    padding: 15px;
  }
  
  .quota-transaction-stripe-payment-form {
    min-width: unset;
    width: 90%;
    padding: 20px;
  }
  
  .quota-transaction-checkout-container h2 {
    font-size: 22px;
  }
}

/* Stripe Connect Onboard Success Page Styles */

.stripe-connect-success-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.stripe-connect-success-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out;
}

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

.stripe-connect-success-content {
  padding: 40px 30px;
  text-align: center;
}

/* Spinner Styles */
.success-spinner {
  margin-bottom: 30px;
}

.success-spinner .spinner-border {
  width: 4rem;
  height: 4rem;
  border-width: 0.3em;
}

/* Icon Styles */
.success-icon {
  margin-bottom: 30px;
  animation: bounceIn 0.8s ease-out 0.2s both;
}

.error-icon {
  margin-bottom: 30px;
  animation: shake 0.6s ease-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

/* Title Styles */
.success-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.success-title.processing {
  color: #6c757d;
  animation: pulse 2s infinite;
}

.success-title.completed {
  color: #28a745;
}

.success-title.error {
  color: #dc3545;
}

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

/* Message Styles */
.success-message {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.5;
}

.error-message {
  font-size: 16px;
  color: #dc3545;
  margin-bottom: 30px;
  line-height: 1.5;
  font-weight: 500;
}

/* Success Details */
.success-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  animation: fadeInLeft 0.5s ease-out;
}

.detail-item:nth-child(1) {
  animation-delay: 0.3s;
}

.detail-item:nth-child(2) {
  animation-delay: 0.5s;
}

.detail-item:nth-child(3) {
  animation-delay: 0.7s;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Button Styles */
.retry-button {
  background: #6c757d;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.retry-button:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

.retry-button:active {
  transform: translateY(0);
}

/* Stripe Branding */
.stripe-branding {
  background: #f8f9fa;
  padding: 20px;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

.stripe-branding small {
  font-size: 12px;
  color: #6c757d;
}

/* Responsive Design */
@media (max-width: 576px) {
  .stripe-connect-success-container {
    padding: 15px;
  }
  
  .stripe-connect-success-content {
    padding: 30px 20px;
  }
  
  .success-title {
    font-size: 24px;
  }
  
  .success-message,
  .error-message {
    font-size: 14px;
  }
  
  .detail-item {
    padding: 10px 15px;
    font-size: 13px;
  }
}

/* Loading animation for processing state */
.processing-dots {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.processing-dots div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #6c757d;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.processing-dots div:nth-child(1) {
  left: 8px;
  animation: processing1 0.6s infinite;
}

.processing-dots div:nth-child(2) {
  left: 8px;
  animation: processing2 0.6s infinite;
}

.processing-dots div:nth-child(3) {
  left: 32px;
  animation: processing2 0.6s infinite;
}

.processing-dots div:nth-child(4) {
  left: 56px;
  animation: processing3 0.6s infinite;
}

@keyframes processing1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes processing3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes processing2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

