:root {
  --primary: #ff7c2b;
  --bg: #f3f7ff;
  --text: #1c1c1c;
  --card: #fff;
  --radius: 14px;
  font-family: "Poppins", sans-serif;
}

body { margin: 0; background: var(--bg); color: var(--text); }

/* AUTH PAGE */
.auth-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.auth-card {
  background: var(--card);
  padding: 30px 25px;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  width: 320px;
  text-align: center;
}
.auth-card h1 {
  margin: 0;
  color: var(--primary);
}
.subtitle {
  margin-bottom: 20px;
  color: gray;
}
form {
  display: none;
  flex-direction: column;
}
form.active {
  display: flex;
}
input {
  margin: 8px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  outline: none;
}
button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
}
.switch {
  margin-top: 10px;
  font-size: 0.9em;
}
.switch a {
  color: var(--primary);
  text-decoration: none;
}

/* DASHBOARD */
.top-header {
  background: var(--primary);
  color: white;
  padding: 15px;
  text-align: center;
}
.wallet {
  background: var(--card);
  margin: 15px;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}
.balance {
  font-size: 1.8rem;
  font-weight: 700;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: none;
  margin-top: 10px;
  cursor: pointer;
}
.promo .card {
  background: var(--card);
  margin: 15px;
  padding: 15px;
  border-radius: var(--radius);
  text-align: center;
}
.promo img {
  width: 60px;
  margin-bottom: 10px;
}
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 15px;
}
.action {
  width: 30%;
  background: var(--card);
  border-radius: var(--radius);
  text-align: center;
  padding: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  margin-bottom: 10px;
}
.action img {
  width: 40px;
  height: 40px;
}
.action p {
  margin-top: 5px;
  font-size: 0.9em;
}

/* FOOTER NAV */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}
.nav-item {
  text-decoration: none;
  color: gray;
  font-weight: 600;
}
.nav-item.active {
  color: var(--primary);
}
.plans-list {
  display: flex;
  flex-direction: column;
  align-items: center;     /* horizontally center */
  justify-content: center; /* vertically optional */
  gap: 20px;
  margin-top: 30px;
  padding-bottom: 100px; /* to avoid overlap with footer */
}

.plan-card {
  width: 320px;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.plan-card h3 {
  color: #18122e;
  margin-bottom: 10px;
  text-align: center;
}

.plan-card p {
  margin: 6px 0;
  color: #333;
  font-size: 0.95em;
}

.plan-card button {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 10px;
  display: block;
  width: 100%;
  transition: 0.3s ease;
}

.plan-card button:hover {
  background: #1d4ed8;
}.plan-card {
  background: linear-gradient(180deg, #ffffff, #f3f7ff);
  border: 1px solid #d0dcff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 400px;
  margin: 25px auto;
  padding: 25px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
}

.plan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  background: linear-gradient(180deg, #f9fbff, #eaf1ff);
}

.plan-card h3 {
  color: #003cff;
  text-align: center;
  margin-bottom: 12px;
  font-weight: 700;
}

.plan-card p {
  margin: 6px 0;
  font-size: 15px;
  color: #333;
}

.rent-btn {
  display: block;
  width: 100%;
  background: linear-gradient(90deg, #003cff, #00c6ff);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.rent-btn:hover {
  background: linear-gradient(90deg, #00c6ff, #003cff);
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .plan-card {
    width: 90%;
  }
}
.deposit-box {
  background: #fff;
  width: 400px;
  margin: 50px auto;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: left;
}

.deposit-box label {
  font-weight: 600;
  margin-top: 10px;
  display: block;
}

.deposit-box input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.deposit-box button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #003cff, #00c6ff);
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.deposit-box button:hover {
  background: linear-gradient(90deg, #00c6ff, #003cff);
}

.hidden {
  display: none;
}

/* 🌍 Footer Navigation Bar */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 100;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}

.nav-item {
  text-decoration: none;
  color: #4b4b4b;
  font-size: 14px;
  transition: 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
  color: #1e88e5;
  font-weight: 600;
}
.nav-item.active {
  color: #0052cc;
  border-bottom: 2px solid #0052cc;
  padding-bottom: 3px;
}
.page-header {
  background: #2563eb;
  color: white;
  text-align: center;
  padding: 18px 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid #1e40af;
}

/* 💸 Deposit Box */
.deposit-container {
  background: #fff;
  width: 340px;
  margin: 40px auto;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.deposit-container h3 {
  color: #333;
  font-size: 16px;
  margin-bottom: 15px;
}

.deposit-container input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 15px;
  text-align: center;
}

.deposit-container button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #1e40af, #2563eb);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.deposit-container button:hover {
  transform: translateY(-1px);
  background: linear-gradient(90deg, #2563eb, #1e40af);
}
#step2 p {
  background: #f3f4f6;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 15px;
  text-align: left;
  margin: 6px 0;
}

#step2 label {
  display: block;
  margin-top: 12px;
  margin-bottom: 5px;
  font-weight: 600;
}

#txnId {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
  margin-bottom: 15px;
}

#submitDeposit {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #1e40af, #2563eb);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

#submitDeposit:hover {
  transform: translateY(-1px);
  background: linear-gradient(90deg, #2563eb, #1e40af);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
th, td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: center;
}
th {
  background-color: #f3f3f3;
}
.user-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 40px;
}

.user-card {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 20px 30px;
  width: 85%;
  max-width: 400px;
  text-align: left;
}

.logout-btn {
  background: #2563EB;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  margin-top: 15px;
  cursor: pointer;
  font-weight: bold;
}

.logout-btn:hover {
  background: #1e4fd0;
}
/* === USER PAGE (My Active Plans Section) === */
#userPlans {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 15px;
  margin-bottom: 80px;
}

#userPlans .plan-card {
  flex: 0 0 30%; /* 3 cards per row */
  min-width: 290px;
  max-width: 340px;
  height: 270px;
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
  border: 1px solid #d8e0ff;
  border-radius: 14px;
  padding: 16px;
  box-sizing: border-box;
  text-align: left;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#userPlans .plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  background: linear-gradient(180deg, #f9fbff, #eef3ff);
}

#userPlans .plan-card h5 {
  margin: 4px 0 8px;
  color: #2563EB;
  font-size: 16px;
  font-weight: 600;
}

#userPlans .plan-card p {
  font-size: 13px;
  margin: 2px 0;
  color: #333;
}

#userPlans .plan-card button {
  background: #2563EB;
  border: none;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  transition: all 0.2s ease;
}

#userPlans .plan-card button:hover {
  background: #1e4fd0;
}

#userPlans .plan-card button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  #userPlans .plan-card {
    flex: 0 0 45%; /* 2 per row on medium */
  }
}

@media (max-width: 600px) {
  #userPlans .plan-card {
    flex: 0 0 90%; /* 1 per row on mobile */
    height: auto;
  }
}
.quick-actions {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  margin: 20px 0;
}

.quick-actions .action {
  flex: 0 0 auto;
  text-align: center;
  background: #ffffff;
  border-radius: 15px;
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.quick-actions .action img {
  width: 40px;
  height: 40px;
  display: block;
  margin: 0 auto 8px;
}

.quick-actions .action p {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.quick-actions .action:hover {
  transform: scale(1.05);
}
quick-actions {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap; /* 👈 ye line badli */
  gap: 20px;
  margin: 20px 0;
}

.quick-actions .action {
  flex: 1 1 150px; /* 👈 ye add kar */
  text-align: center;
  background: #ffffff;
  border-radius: 15px;
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.quick-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 20px auto;
  padding: 0 10px;
  overflow-x: auto;
  max-width: 100%;
}

.quick-actions .action {
  flex: 1 1 100px;
  text-align: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  min-width: 110px;
}

.quick-actions .action img {
  width: 30px;
  height: 30px;
  display: block;
  margin: 0 auto 5px;
}

.quick-actions .action p {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin: 0;
}
.quick-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 20px auto 40px auto; /* 👈 neeche extra space */
  padding: 0 10px;
  overflow-x: auto;
  max-width: 100%;
}
.quick-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 20px auto 60px auto;
  padding: 10px;
  max-width: 100%;
}

.quick-actions .action {
  flex: 1 1 100px;
  text-align: center;
  background: linear-gradient(180deg, #f9f9f9 0%, #eef1f4 100%);
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: all 0.2s ease-in-out;
  min-width: 110px;
}

.quick-actions .action:hover {
  transform: scale(1.05);
  background: #ffffff;
}

.quick-actions .action img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  object-fit: contain;
}

.quick-actions .action p {
  font-size: 13px;
  font-weight: 500;
  color: #222;
  margin: 0;
}
/* 🔹 Image Slider Styling */
.slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 220px;
  margin: 20px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.slides {
  display: flex;
  width: 300%;
  transition: transform 1s ease-in-out;
}

.slide {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.converted-box {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #ffffff;
  color: #18122e;
  font-size: 15px;
  font-weight: 400; /* ✅ matches input font weight */
  font-family: "Poppins", sans-serif; /* ✅ matches input font style */
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: 0.2s ease;
}
/* ======= BOTTOM NAVBAR (common for all pages) ======= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 2px 0;     /* kam padding = chhoti height */
  height: 20px;       /* footer ki height ab kam */
  z-index: 999;
  font-family: "Poppins", sans-serif;
}

.bottom-nav a {
  text-decoration: none;
  color: #1c1c1c;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;    /* thoda chhota text */
  font-weight: 500;
  line-height: 1.1;
}

.bottom-nav span {
  margin-top: 2px;    /* icon aur text ke beech thoda gap */
}

.bottom-nav a.active span {
  color: #2b6fff;
  font-weight: 600;
}
.withdraw-history {
  width: 90%;
  max-width: 600px; /* 🔹bigger area for table */
}

.history-table th, .history-table td {
  font-size: 13px;
  padding: 8px 6px;
  text-align: center;
}
.history-table th:nth-child(3),
.history-table td:nth-child(3) {
  word-break: break-all;
}
/* 🔹 Withdraw History Card */
.withdraw-history {
  background: #ffffff;
  width: 90%;
  max-width: 500px;
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 90px;
}

/* 🔹 Title */
.withdraw-history h3 {
  color: #18122e;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

/* 🔹 Table Layout */
.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-radius: 12px;
  overflow: hidden;
}

/* Header */
.history-table thead th {
  background: #f9f9f9;
  color: #555;
  font-weight: 600;
  text-align: center;
  padding: 10px;
  border-bottom: 1px solid #eaeaea;
}

/* Rows */
.history-table tbody td {
  padding: 10px 8px;
  text-align: center;
  color: #222;
  border-bottom: 1px solid #f2f2f2;
}

/* Remove last border */
.history-table tbody tr:last-child td {
  border-bottom: none;
}

/* 🔹 Status Badges */
.status-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 13px;
}

.status-badge.pending {
  background: #fff7e6;
  color: #b7791f;
}

.status-badge.approved {
  background: #e7f9ef;
  color: #16a34a;
}

.status-badge.rejected {
  background: #fde8e8;
  color: #dc2626;
}

/* 🔹 Mobile Responsive */
@media (max-width: 480px) {
  .history-table thead {
    display: none;
  }
  .history-table, .history-table tbody, .history-table tr, .history-table td {
    display: block;
    width: 100%;
  }
  .history-table tr {
    margin-bottom: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }
  .history-table td {
    text-align: right;
    padding: 10px 12px;
    position: relative;
  }
  .history-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    font-weight: 600;
    color: #555;
  }
}
/* ===== GLOBAL ===== */
body {
  background: linear-gradient(180deg, #fff4ec 0%, #fde5cf 100%);
  font-family: "Poppins", sans-serif;
  color: #18122e;
  margin: 0;
}

/* ===== HEADER ===== */
.top-header {
  background: linear-gradient(90deg, #eab685, #f7cfa2);
  color: #18122e;
  text-align: center;
  padding: 18px 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-bottom: 3px solid #5d8a09;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ===== DASHBOARD CARDS ===== */
.card {
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 4px 15px rgba(234, 182, 133, 0.25);
  padding: 25px;
  width: 90%;
  margin: 20px auto;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
}
.card h3 {
  color: #18122e;
  margin-bottom: 10px;
}
.card .value {
  color: #5d8a09;
  font-size: 28px;
  font-weight: 700;
}

/* ===== BUTTONS ===== */
button, .btn {
  background: linear-gradient(90deg, #5d8a09, #eab685);
  border: none;
  border-radius: 8px;
  padding: 10px 25px;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}
button:hover, .btn:hover {
  opacity: 0.9;
  transform: scale(1.03);
}

/* ===== FOOTER ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #eab685, #f7cfa2);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 999;
  border-top: 2px solid #5d8a09;
}

.bottom-nav a {
  flex: 1;
  text-align: center;
  color: #18122e;
  text-decoration: none;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: 0.3s ease;
}

.bottom-nav a:hover {
  color: #5d8a09;
  transform: translateY(-2px);
}

.bottom-nav .active {
  color: #5d8a09;
  font-weight: 600;
  padding-top: 6px;
  position: relative;
}

.bottom-nav .active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 3px;
  background: #5d8a09;
  border-radius: 2px;
}

/* ===== ICONS ===== */
.bottom-nav img {
  width: 25px;
  height: 25px;
  filter: invert(20%) sepia(15%) saturate(400%) hue-rotate(25deg);
  opacity: 0.6;
  transition: 0.3s;
}
.bottom-nav .active {
  color: #5d8a09;
  font-weight: 600;
  opacity: 1;
}
a:focus,
a:active,
a:visited {
  outline: none !important;
  box-shadow: none !important;
}
.bottom-nav a {
  text-decoration: none !important;
}

.bottom-nav a:focus,
.bottom-nav a:active,
.bottom-nav a:hover {
  text-decoration: none !important;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}
.bottom-nav a,
.bottom-nav a:focus,
.bottom-nav a:active,
.bottom-nav a:hover,
.bottom-nav a:focus-visible {
  text-decoration: none !important;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
/* ===== MOBILE RESPONSIVE FIXES ===== */
@media (max-width: 480px) {
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .card,
  .withdraw-box,
  .withdraw-history,
  .deposit-container section,
  #plansContainer {
    width: 90% !important;
    margin: 10px auto !important;
    box-sizing: border-box;
  }

  header.top-header {
    font-size: 20px;
    padding: 15px 0;
  }

  .bottom-nav {
    flex-wrap: nowrap;
    font-size: 11px;
    padding: 6px 0;
  }

  .bottom-nav a span {
    font-size: 10px;
  }

  button,
  .btn {
    width: 100%;
    font-size: 14px;
  }

  table,
  .history-table {
    font-size: 11px;
    word-wrap: break-word;
  }

  input,
  select {
    font-size: 13px;
  }
}
/* ===== MOBILE FULL VIEW FIX ===== */
@media (max-width: 480px) {
  html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: linear-gradient(180deg, #fff4ec 0%, #fde5cf 100%);
  }

  main,
  .dashboard,
  .deposit-container,
  .withdraw-container {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .card,
  .withdraw-box,
  .withdraw-history,
  .deposit-container section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px auto;
    border-radius: 14px;
  }

  header.top-header {
    font-size: 20px;
    padding: 15px 0;
  }

  .bottom-nav {
    flex-wrap: nowrap;
    justify-content: space-around;
    padding: 8px 0;
    font-size: 11px;
  }

  .bottom-nav a span {
    font-size: 10px;
  }

  button,
  .btn {
    width: 100%;
    font-size: 14px;
  }

  input,
  select {
    width: 100%;
    font-size: 14px;
  }

  table {
    width: 100%;
    font-size: 12px;
    word-wrap: break-word;
  }
}
/* ===== FIX FOOTER FOR MOBILE VIEW ===== */
@media (max-width: 480px) {
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #eab685, #f7cfa2);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 8px 4px;
    z-index: 999;
    border-top: 2px solid #5d8a09;
  }

  .bottom-nav a {
    flex: 1;
    text-align: center;
    color: #18122e;
    text-decoration: none;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .bottom-nav a span {
    font-size: 10px;
    display: block;
  }

  .bottom-nav .active {
    color: #5d8a09;
    font-weight: 600;
  }

  .bottom-nav a:hover {
    color: #5d8a09;
  }
}
/* === EXNODE THEMED PLAN CARDS === */
.plan-card {
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 4px 15px rgba(234, 182, 133, 0.25);
  padding: 20px;
  text-align: center;
  margin: 15px auto;
  width: 90%;
  transition: 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(234, 182, 133, 0.4);
}

/* PLAN TITLE */
.plan-card h3 {
  color: #5d8a09;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

/* PLAN DETAILS */
.plan-card p {
  font-size: 15px;
  color: #18122e;
  margin: 6px 0;
}

/* PRICE/ICON EMPHASIS */
.plan-card b {
  color: #18122e;
}

/* RENT BUTTON (THEMED) */
.plan-card button,
.plan-card .btn {
  background: linear-gradient(90deg, #5d8a09, #eab685);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 10px 25px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(93, 138, 9, 0.25);
}

.plan-card button:hover,
.plan-card .btn:hover {
  background: linear-gradient(90deg, #eab685, #5d8a09);
  box-shadow: 0 6px 15px rgba(234, 182, 133, 0.45);
  transform: translateY(-2px);
}
/* === FIX PLAN CARD WIDTH & ALIGNMENT === */
.plan-card {
  width: 80%;
  max-width: 420px;
  margin: 25px auto;
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 4px 15px rgba(234, 182, 133, 0.25);
  padding: 25px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(234, 182, 133, 0.4);
}

/* Responsive for mobile */
@media (max-width: 480px) {
  .plan-card {
    width: 90%;
    padding: 20px 15px;
  }
}
/* === FIX PLAN CARD TEXT ALIGNMENT === */
.plan-card {
  width: 80%;
  max-width: 420px;
  margin: 25px auto;
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 4px 15px rgba(234, 182, 133, 0.25);
  padding: 25px 25px 30px 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Title centered only */
.plan-card h3 {
  color: #5d8a09;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
}

/* All detail text left aligned */
.plan-card p {
  text-align: left;
  margin: 6px 0;
  font-size: 15px;
  color: #18122e;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Rent button centered */
.plan-card button {
  display: block;
  margin: 20px auto 0 auto;
  background: linear-gradient(90deg, #5d8a09, #eab685);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.plan-card button:hover {
  background: linear-gradient(90deg, #eab685, #5d8a09);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(234, 182, 133, 0.45);
}

/* Responsive */
@media (max-width: 480px) {
  .plan-card {
    width: 90%;
    padding: 20px;
  }
}
/* === FIX: Deposit button theme colors === */
button,
#generatePaymentDetails,
#generatePayment,
#submitDeposit {
  background: linear-gradient(90deg, #5d8a09, #eab685) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px;
  font-weight: 600;
  padding: 12px 25px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(93, 138, 9, 0.25);
  transition: all 0.3s ease;
}

button:hover,
#generatePaymentDetails:hover,
#generatePayment:hover,
#submitDeposit:hover {
  background: linear-gradient(90deg, #eab685, #5d8a09) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(234, 182, 133, 0.45);
}
/* === Ultra Compact Fix: About Us & Announcement === */
.quick-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;                   /* thoda aur close */
  margin: 10px auto 10px auto !important; /* bottom aur kam */
}

.quick-actions .action {
  width: 70px !important;                 /* 🔹 box chhota */
  max-width: 70px !important;
  padding: 4px 5px !important;            /* tighter padding */
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}

.quick-actions .action img {
  width: 25px !important;                 /* 🔹 icon chhota */
  height: 25px !important;
  margin-bottom: 3px;
}

.quick-actions .action p {
  font-size: 10px !important;             /* 🔹 font chhoti */
  font-weight: 500;
  color: #18122E;
  margin: 0;
}

.quick-actions .action:hover {
  transform: scale(1.04);
}


/* === Centered Popup for Announcement === */
.popup {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;                          /* covers whole screen */
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;           /* center horizontally */
  align-items: center;               /* center vertically */
}

.popup-content {
  background: #fff;
  color: #18122E;
  width: 85%;
  max-width: 400px;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  padding: 20px;
  animation: fadeIn 0.3s ease-in-out;
}

.popup-content h3 {
  text-align: center;
  margin-top: 0;
  color: #5D8A09;
}

.popup-content ul {
  padding-left: 20px;
  margin-top: 10px;
  max-height: 250px;                 /* optional scroll */
  overflow-y: auto;
}

.popup-content li {
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
}

.close {
  float: right;
  font-size: 22px;
  cursor: pointer;
  color: #18122E;
}

.close:hover {
  color: #5D8A09;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}
.logout-section {
  text-align: center;
  margin-top: 10px;
}

.btn-logout {
  background: #5D8A09; /* green theme color */
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: 0.3s;
}

.btn-logout:hover {
  background: #18122E; /* dark purple hover */
}
/* 🔹 Image Slider Styling */
.slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 220px;
  margin: 20px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.slides {
  display: flex;
  width: 300%;
  transition: transform 1s ease-in-out;
}

.slide {
  width: 100%;
  height: 220px;
  object-fit: cover; /* ✅ Desktop view perfect fill */
}

/* 🔹 Mobile View Fix */
@media (max-width: 600px) {
  .slider {
    height: auto; /* ✅ Adjust height automatically */
  }

  .slides {
    width: 100%; /* ✅ Prevent layout stretching */
  }

  .slide {
    width: 100%;
    height: auto; /* ✅ Maintain original aspect ratio */
    object-fit: contain; /* ✅ No zoom or cropping */
  }
}
.plan-card {
  background:#fff;
  border-radius:14px;
  padding:16px;
  margin:14px;
  box-shadow:0 3px 6px rgba(0,0,0,0.1);
}

/* 🔥 Premium style */
.plan-card.premium {
  position:relative;
  background:linear-gradient(135deg,#fff0e0,#fff8f0);
  border:2px solid #EAB685;
  overflow:hidden;
}

.plan-card.premium .plan-top {
  display:flex;
  gap:12px;
}

.plan-img {
  width:110px;
  height:90px;
  border-radius:10px;
  object-fit:cover;
}

.ribbon {
  position:absolute;
  top:10px;
  right:-35px;
  transform:rotate(45deg);
  background:red;
  color:#fff;
  padding:5px 40px;
  font-size:0.75rem;
  font-weight:600;
}

.ribbon.hot { background:#d9534f; }
.ribbon.maintenance { background:#5a5a5a; }

.expiry {
  font-weight:600;
  color:#e74c3c;
}

.rent-btn {
  width:100%;
  background:linear-gradient(90deg,#5D8A09,#EAB685);
  border:none;
  color:white;
  padding:10px;
  border-radius:8px;
  margin-top:10px;
  font-size:1rem;
  cursor:pointer;
}
.plan-card.premium {
  position: relative;
  background: linear-gradient(135deg, #fff0e0, #fff8f0);
  border: 2px solid #EAB685;
  overflow: hidden;
}

.plan-card.premium .plan-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.plan-img {
  width: 120px;
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
}

.ribbon {
  position: absolute;
  top: 10px;
  right: -35px;
  transform: rotate(45deg);
  background: #d9534f;
  color: #fff;
  padding: 5px 40px;
  font-size: 0.75rem;
  font-weight: 600;
}

.expiry {
  color: #e74c3c;
  font-weight: 600;
}
.plan-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.plan-img {
  width: 120px;
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
}

.plan-info {
  flex: 1;
}
/* 📱 Responsive Plan Cards */
.plan-card {
  max-width: 95%;
  margin: 10px auto;
  padding: 15px;
  border-radius: 12px;
  background: #fffaf3;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.plan-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

.plan-img {
  width: 110px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* 🧩 Adjust text for mobile */
.plan-info {
  flex: 1;
  min-width: 200px;
}

/* 📱 Mobile Optimization */
@media (max-width: 600px) {
  .plan-card {
    max-width: 100%;
    padding: 10px;
  }
  .plan-top {
    flex-direction: row;
    align-items: center;
  }
  .plan-img {
    width: 100px;
    height: 80px;
  }
  .plan-info h3 {
    font-size: 1rem;
  }
  .plan-info p {
    font-size: 0.9rem;
  }
  .rent-btn {
    width: 100%;
    padding: 10px 0;
    font-size: 0.95rem;
  }
}
.top-header {
  height: 40px; /* 🔹 Pehle ye 120px ya zyada hogi, ise half kar de */
background: linear-gradient(90deg, #eab685, #f7cfa2);  border-bottom: 2px solid #5d8a09;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #18122e;
  text-align: center;
}
