:root {
  --bg-primary: #f8f4ff;
  --bg-secondary: #ffffff;
  --text-primary: #2d1b4e;
  --text-secondary: #6b4fa3;
  --accent: #893cfa;
  --accent-hover: #ff8555;
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.6);
  --shadow: rgba(107, 79, 163, 0.1);
  --neu-light: rgba(255, 255, 255, 0.8);
  --neu-dark: rgba(107, 79, 163, 0.15);
  --pattern-primary: #e8dff5;
  --pattern-secondary: #8a49f4;
  --myers-primary: #1a3a52;
  --myers-secondary: #e8f4f8;
  --jason-primary: #2d5016;
  --jason-secondary: #87a96b;
  --freddy-primary: #8b0000;
  --freddy-secondary: #ff4444;
  --scream-primary: #1a1a1a;
  --scream-secondary: #ffffff;
  --primary-gradient: linear-gradient(135deg, #4f46e5, #7c3aed);
  --secondary-gradient: linear-gradient(135deg, #3b82f6, #2563eb);
  --text-color: #1f2937;
  --bg-color: #f3f4f6;
}

body.dark {
  --bg-primary: #1a0b2e;
  --bg-secondary: #2d1b4e;
  --text-primary: #f8f4ff;
  --text-secondary: #b39cd9;
  --accent: #893cfa;
  --accent-hover: #ff8555;
  --glass-bg: rgba(45, 27, 78, 0.55);
  --glass-border: rgba(255, 255, 255, 0.15);
  --shadow: rgba(0, 0, 0, 0.3);
  --neu-light: rgba(255, 255, 255, 0.05);
  --neu-dark: rgba(0, 0, 0, 0.4);
  --pattern-primary: #2d1b4e;
  --pattern-secondary: #893cfa;
  --myers-primary: #2b5a7f;
  --myers-secondary: #b8d4e8;
  --jason-primary: #4a7a2c;
  --jason-secondary: #a8c98b;
  --freddy-primary: #b30000;
  --freddy-secondary: #ff6666;
  --scream-primary: #2a2a2a;
  --scream-secondary: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background: #f2f2f2;
  height: 100vh;
  overflow: hidden;
}

/* ================= HEADER ================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 75px;
  background: #9e0101;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  z-index: 1000;
}
.page-title {
  flex: 1;
  margin-left: 16px;
  font-size: 18px;
  font-weight: 500;
}
.top-icons {
  display: flex;
  gap: 16px;
}
.material-icons {
  cursor: pointer;
}

/* ================= LAYOUT ================= */
.container {
  /*display:flex;*/
  height: 100%;
  width: 100%;
  padding-top: 70px;
}
.overlay {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 900;
}
.overlay.show {
  display: block;
}

/* ================= SIDEBAR ================= */
.modern-sidebar {
  width: 270px;
  background: #9e0101;
  color: #fff;
  padding: 16px;
  border-radius: 24px;
  margin: 10px;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}
.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.sidebar-profile img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.sidebar-profile small {
  font-size: 11px;
  opacity: 0.85;
}
.sidebar-profile h4 {
  font-size: 14px;
  font-weight: 500;
}

/* PROFILE DROPDOWN */
.profile-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin-top: 10px;
}
.profile-dropdown.open {
  max-height: 140px;
}
.profile-dropdown div {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
}
.profile-dropdown div:hover {
  background: rgba(255, 255, 255, 0.2);
}
.bottom-nav a {
  text-decoration: none; /* remove underline */
  color: inherit; /* keep same text color as parent */
}

.bottom-nav a:visited {
  color: inherit; /* prevent purple visited links */
}

.bottom-nav a:hover {
  text-decoration: none; /* no underline on hover */
}
/* MENU */
.section-title {
  font-size: 11px;
  opacity: 0.8;
  margin: 14px 0 6px;
  font-weight: 500;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
}
.menu-item:hover {
  background: rgba(255, 255, 255, 0.2);
}
.menu-item.active {
  background: rgba(255, 255, 255, 0.3);
}
.badge {
  margin-left: auto;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #ff4d4d;
}

/* SUBMENU */
.submenu {
  max-height: 0;
  overflow: hidden;
  margin-left: 42px;
  transition: max-height 0.4s ease;
}
.submenu.open {
  max-height: 200px;
}
.submenu-item {
  padding: 6px 0;
  font-size: 13px;
  opacity: 0.9;
}

/* CTA */
.sidebar-cta {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}
.sidebar-cta strong {
  font-weight: 500;
}
.sidebar-cta button {
  margin-top: 10px;
  background: #fff;
  color: #9e0101;
  border: none;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ================= CONTENT ================= */
.main-content {
  flex: 1;
  background: #fff;
  margin: 10px;
  border-radius: 24px;
  padding: 20px;
  overflow: auto;
}
.main-content h2 {
  font-weight: 600;
}

/* ================= RIGHT SIDEBAR ================= */
.sidebar-right {
  width: 260px;
  background: #fff;
  margin: 10px;
  border-radius: 24px;
  padding: 16px;
  transition: 0.3s;
}

/* ================= MOBILE & TABLET ================= */
@media (max-width: 1024px) {
  .modern-sidebar {
    position: fixed;
    left: 0;
    top: 70px;
    bottom: 0;
    transform: translateX(-110%);
    z-index: 1001;
  }
  .modern-sidebar.open {
    transform: translateX(0);
  }

  .sidebar-right {
    position: fixed;
    right: 0;
    top: 70px;
    bottom: 0;
    transform: translateX(110%);
    z-index: 1001;
  }
  .sidebar-right.open {
    transform: translateX(0);
  }
}

/* ================= BOTTOM NAV ================= */
.bottom-nav {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 94%;
  height: 66px;
  background: #fff;
  border-radius: 20px;
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  z-index: 1100;
}
.nav-item {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: #777;
}
.nav-item.active {
  color: #9e0101;
}
.center-btn {
  width: 56px;
  height: 56px;
  background: #9e0101;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -28px;
}

/* SHOW NAV ON MOBILE + TABLET */
@media (max-width: 1024px) {
  .bottom-nav {
    display: flex;
  }
  .main-content {
    padding-bottom: 130px;
  }
}

.menu-item a {
  display: flex; /* Ensures the anchor behaves like the original div */
  align-items: center;
  text-decoration: none; /* Removes underline from anchor */
  color: inherit; /* Inherits text color from the parent */
  width: 100%; /* Ensures the anchor spans the full width of the div */
}

.menu-item a .material-icons {
  margin-right: 8px; /* Adjust the spacing between the icon and text */
}

.profile-dropdown .dropdown-item {
  padding: 10px 15px;
  cursor: pointer;
}

.profile-dropdown .dropdown-item a {
  display: block; /* makes the whole row clickable */
  text-decoration: none; /* removes underline */
  color: inherit; /* keeps original text color */
  width: 100%;
}
.nav_logo {
  width: 75px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-card {
  padding: 1rem;
  border: 2px solid rgb(138, 61, 251);
  background: var(--glass-bg);
  backdrop-filter: blur(4px);
  border-radius: 24px;
  /*border: 1px solid var(--glass-border);*/
  box-shadow:
    8px 8px 20px var(--neu-dark),
    -8px -8px 20px var(--neu-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8538fa, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--villain-pattern);
  opacity: 0.05;
  border-radius: 50%;
  transition: all 0.5s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow:
    12px 12px 30px var(--neu-dark),
    -12px -12px 30px var(--neu-light);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover::after {
  transform: scale(1.2) rotate(20deg);
  opacity: 0.1;
}

.stat-card.myers {
  --villain-color: var(--myers-primary);
  --villain-pattern: var(--myers-secondary);
}

/*.stat-card.myers .stat-icon {
    filter: drop-shadow(0 0 8px rgba(26, 58, 82, 0.5));
}*/

.stat-card.jason {
  --villain-color: var(--jason-primary);
  --villain-pattern: var(--jason-secondary);
}

.stat-card.jason .stat-icon {
  /*filter: drop-shadow(0 0 8px rgba(45, 80, 22, 0.5));*/
}

.stat-card.freddy {
  --villain-color: var(--freddy-primary);
  --villain-pattern: var(--freddy-secondary);
}

.stat-card.freddy .stat-icon {
  filter: drop-shadow(0 0 8px rgba(139, 0, 0, 0.5));
  animation: flicker 2s infinite;
}

@keyframes flicker {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.stat-card.scream {
  --villain-color: var(--scream-primary);
  --villain-pattern: var(--scream-secondary);
}

.stat-card.scream .stat-icon {
  filter: drop-shadow(0 0 8px rgba(26, 26, 26, 0.5));
  animation: shake 3s infinite;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-2px) rotate(-2deg);
  }
  75% {
    transform: translateX(2px) rotate(2deg);
  }
}

.stat-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.stat-icon {
  font-size: 0rem;
  opacity: 1;
  transition: all 0.3s ease;
}

.stat-change {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.stat-change.positive {
  background: rgba(46, 213, 115, 0.15);
  color: #2ed573;
}

.stat-change.negative {
  background: rgba(255, 107, 53, 0.15);
  color: var(--accent);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(
    135deg,
    var(--text-primary),
    var(--text-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.villain-name {
  font-size: 0.7rem;
  color: #8538fa;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
  opacity: 0.7;
}

.dashboard-img {
  width: 50px;
}

.list-header {
  font-size: 20px;
  font-weight: 500;
  color: #18181b;
  margin-bottom: 24px;
  padding-left: 12px;
  view-transition-name: list-header;
  height: fit-content;
  overflow: hidden;
}

.close-button {
  display: none;
  justify-content: flex-end;
  view-transition-name: close-button;
}

.not-expanded {
  view-transition-class: not-expanded;

  * {
    view-transition-class: not-expanded;
  }
}

.container:has(.not-expanded) :is(.list-header, .all-transactions) {
  view-transition-class: not-expanded;
}

.container:has(.expanded) {
  .list-header {
    display: none;
  }

  .close-button {
    display: flex;
  }

  .all-transactions {
    display: none;
  }

  .transaction:not(.expanded) {
    display: none;
  }
}

.transaction-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  view-transition-name: transaction-list;
}

.transaction {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-radius: 16px;
  cursor: pointer;

  &.expanded {
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;

    .transaction-details,
    .payment-details {
      display: flex;
    }

    .icon-container {
      width: 100%;

      .close-btn {
        display: flex;
      }
    }
  }
}

.title-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.icon-container {
  display: flex;
  justify-content: space-between;
}

.icon {
  width: 40px;
  height: 40px;
  background: #18181b;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.details {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex: 1;
  width: 100%;
}

.title {
  font-weight: 500;
  color: #18181b;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 14px;
  color: #fff;
}

.amount {
  font-weight: 500;
  color: #71717a;
}

.transaction-details,
.payment-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #71717a;
  border-top: 1px dotted #71717a;
  padding-top: 6px;
  width: 100%;
  display: none;
}

.transaction-details {
  view-transition-class: transaction-details;
}

.payment-details {
  view-transition-class: payment-details;
}

.all-transactions {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: #18181b;
  font-weight: 500;
  margin-top: 8px;
  cursor: pointer;
  view-transition-name: all-transactions;
}

.close-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f4f4f5;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

@keyframes slide-up {
  from {
    opacity: 0;
    margin-top: 30px;
  }
  to {
    opacity: 1;
    margin-top: 0;
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes squash {
  0% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(0);
  }
}

.balance {
  width: 100%;
  max-width: 380px;
  background: #883bfa26;
  border-radius: 10px;
}

.balance-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-bg);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-top: 0.5rem;
  position: relative;
  padding: 0 1rem;
}

.balance-info {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.balance-info .money-sign {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 1rem 0;
  border-radius: 50%;
  color: var(--accent);
  font-weight: bold;
  font-size: 40px;
  background: var(--secondary-accent);
}

.balance-info .money-sign span {
  margin-top: 2px;
  margin-left: 2.5px;
}

.balance-info .balance-amount {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0.75rem;
  justify-content: space-between;
  margin: 0.5rem 0;
}

.balance-amount .text {
  font-size: 1rem;
  opacity: 0.8;
  font-weight: 500;
  color: var(--secondary-text);
}

.balance-amount .amount {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary-text);
  opacity: 0.75;
}

.membership .plan-badge {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  padding: 0.6rem 1.2rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--secondary-text);
  background: aliceblue;
  justify-content: right;
  width: auto;
  text-transform: uppercase;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 20px;
}

.add-money {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--primary-bg);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.add-money .amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.61);
  /*background: rgba(0, 0, 0, .025);*/
  margin: 0.5rem;
  border-radius: 50rem;
}

.add-money .amount .input {
  width: 100%;
  overflow-x: hidden;
  padding-left: 1rem;
}

.add-money .amount input {
  width: 100%;
  padding: 0;
  outline: none;
  border: none;
  height: 35px;
  background: transparent;
}

.add-money .amount input::placeholder {
  color: var(--secondary-text);
  opacity: 0.5;
}

.add-money .amount .shortcut {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow-x: scroll;
  margin-right: 0.25rem;
}

.add-money .shortcut span {
  color: var(--accent);
  background: var(--secondary-accent);
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  margin: 0 0.25rem;
  border-radius: 50rem;
  font-weight: 500;
  opacity: 0.8;
}

.add-money .cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem;
  background: var(--primary-bg);
  margin: 0.5rem;
  border-radius: 50rem;
}

.add-money .cta .methods {
  width: 100%;
  display: flex;
  position: relative;
}

.add-money .cta .methods span {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  margin-right: -10px;
  border-radius: 50%;
  max-width: 100%;
  position: relative;
  z-index: auto;
  border: 4px solid #fff;
}

.add-money .cta .methods span:nth-child(1) {
  z-index: 4;
  background: #fdf4fa;
}

.add-money .cta .methods span:nth-child(2) {
  z-index: 3;
  background: #f9f9f1;
}

.add-money .cta .methods span:nth-child(3) {
  z-index: 2;
  background: #f6f7fb;
}

.add-money .cta .methods span:nth-child(4) {
  z-index: 1;
  color: var(--secondary-text);
  font-size: 0.7rem;
  font-weight: 500;
  background: #f3f8fc;
}

.add-money .cta .methods span img {
  max-width: 100%;
  width: 20px;
}

.add-money .cta .methods span:nth-child(3) img {
  background: #f6f7fb;
  width: 14px;
}

.add-money .cta button.add {
  width: 200px;
  height: 35px;
  border-radius: 50rem;
  border: none;
  color: #fff;
  font-weight: bold;
  background: var(--accent);
}

@media (max-width: 768px) {
  .stats-grid,
  .charts-grid {
    grid-template-columns: 1fr;
  }
}

.trigger-button {
  padding: 14px 28px;
  background-image: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.trigger-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 90%;
  max-width: 480px;
  z-index: 1001;
  opacity: 0;
  transition: all 0.3s ease-out;
  background-image:
    radial-gradient(
      circle at 0% 0%,
      rgba(79, 70, 229, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(124, 58, 237, 0.03) 0%,
      transparent 50%
    );
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.popup.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(243, 244, 246, 0.8);
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #6b7280;
  padding: 8px;
  line-height: 1;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-button:hover {
  background: rgba(243, 244, 246, 1);
  color: #374151;
  transform: rotate(90deg);
}

.popup-content {
  position: relative;
}

.popup-content h2 {
  margin: 0 0 12px 0;
  color: var(--text-color);
  font-size: 28px;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.popup-content p {
  margin: 0 0 32px 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

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

.form-group input {
  width: 100%;
  padding: 6px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 12px;
  transition: all 0.3s;
  box-sizing: border-box;
  background: #f9fafb;
}

.form-group input:focus {
  outline: none;
  border-color: #4f46e5;
  background: white;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.submit-button {
  width: 100%;
  padding: 16px;
  background-image: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
  position: relative;
  overflow: hidden;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

.submit-button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  transform: rotate(45deg);
  transition: transform 0.5s;
}

.submit-button:hover::after {
  transform: rotate(45deg) translate(50%, 50%);
}

.discount-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
  transform: rotate(12deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.form-group {
  animation: slideUp 0.5s ease-out forwards;
  opacity: 0;
}

.form-group:nth-child(1) {
  animation-delay: 0.2s;
}
.form-group:nth-child(2) {
  animation-delay: 0.3s;
}

@media (max-width: 640px) {
  .popup {
    padding: 32px;
    width: 95%;
  }

  .popup-content h2 {
    font-size: 24px;
  }
}

/* Decorative elements */
.decorative-shape {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(79, 70, 229, 0.1),
    rgba(124, 58, 237, 0.1)
  );
  z-index: -1;
}

.shape-1 {
  top: -20px;
  left: -20px;
}

.shape-2 {
  bottom: -20px;
  right: -20px;
  background: linear-gradient(
    45deg,
    rgba(59, 130, 246, 0.1),
    rgba(37, 99, 235, 0.1)
  );
}
