/* =============== GLOBAL STYLES =============== */




* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  background-color: black;
  color: white;
  overflow-x: hidden;
}

.wrapper {
  position: relative;
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  background-color: #0d0d0d;
  border-radius: 12px;
  

  /* Better subtle glow that does not produce visible lines */
 box-shadow:
  0 8px 30px rgba(0, 0, 0, 0.35),                /* deeper outer shadow */
  0 0 12px rgba(0, 255, 135, 0.06),              /* more noticeable green glow */
  inset 0 0 2px rgba(255, 255, 255, 0.04);        /* slightly stronger inner shine */
}
.wrapper::before {
  content: none;
  display: none !important;
}



.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(to bottom, #000, #0f0f0f 30%, #000);
  border: none;
  width: 100%;
}

h1 {
  font-weight: 700;
}

p {
  font-weight: 500;
  line-height: 1.6;
}

/* =============== HEADER SECTION =============== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 3rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.logo a {
  color: white;
  text-decoration: none;
}

.logo img {
  height: 2rem;
}

.logo h1 {
  font-size: 1.8rem;
  margin: 0;
}


/* =============== Status Message Section =============== */
#statusBox {
  font-size: 8px;
}




  /* =============== Wallet Connect Section =============== */

/* === WALLET CONNECT PAGE === */

.wallet-connect-container::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,255,135,0.08), transparent 70%);
  z-index: 0;
}



.wallet-connect-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  background-color: #0d0d0d;
   position: relative;
    z-index: 5;
    animation: fadeIn 0.8s ease;
}

.wallet-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  opacity: 0.15;
}


.wallet-connect-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #e1b14c;
  margin-bottom: 1.2rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.wallet-connect-subtext {
  font-size: 1.15rem;
  color: #ccc;
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 2.4rem;
}


.connect-wallet-btn {
  background: linear-gradient(145deg, #00a153, #007a33);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 255, 135, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.connect-wallet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 255, 135, 0.2);
}









/* =============== BLOCK 1 HERO SECTION =============== */
.hero-wrapper {
  width: 100%;
  
}

.dashboard-hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0 ;
  align-items: center;
  text-align: center;
   padding: 0 auto;   /* Add padding top & bottom once you show the dashboard text */
   border-radius: 12px;
}

.dashboard-hero.with-candles {
  position: relative;
  background: linear-gradient(to bottom, #0d0d0d 0%, #1b1b1b 100%);
  overflow: hidden;
}


.dashboard-hero.with-candles::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 30%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(0,255,135,0.15), transparent 70%);
  filter: blur(8px);
  animation: pulse 3s infinite ease-in-out;
}

.dashboard-hero .hero-text,
.dashboard-hero .hero-box {
  position: relative;
  z-index: 1; /* Ensures content sits above background */
}



.hero-text {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 90%;
  padding: 0 1rem;
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.6rem 0;
  line-height: 1.2;
}

.hero-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: #ccc;
}

.hero-box {
  position: relative;
  background: linear-gradient(145deg, #1b1b1b, #007A33);
  border: 1px solid #444;
  border-radius: 1rem;
  padding: 1.5rem;
  color: white;
  width: 95%;
  height: auto;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.6rem;
  box-shadow: 0 0 10px #00000033;
}

.hero-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.hero-balance {
  font-size: 2.2rem;
  font-weight: 900;
  color: #e1b14c;
  letter-spacing: -0.5px;
}

.hero-wallet {
 background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #ddd;
}

.eth-icon {
  width: 70px;
  height: 70px;
  position: absolute;
  top: 1rem;
  right: 1rem;
  filter: brightness(1.2);
}

/* =============== VAULTS SCROLL SECTION =============== */
.vaults-section {
  margin-top: 2rem;
  text-align: left;
}

 .vaults-section h2 {
  font-size: 1.6rem;
  margin-bottom: -0.5rem;
  padding-left: 1rem;
  color: #ccc;
}  
.savings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  margin-bottom: 1rem;
  flex-wrap: nowrap;
}
.vaults-section h2,
.history-section h2 {
  color: #d4a855;
  border-left: 4px solid #007A33;
  padding-left: 0.8rem;
  font-weight: 700;
}


 /* .savings-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: white;
}  */

.start-new-btn {
  background: linear-gradient(145deg, #1b1b1b, #e7bc60);
  color: #ffffff;
  padding: 1rem 1.2rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.4rem;
  cursor: pointer;
  white-space: nowrap;
  display: inline-block;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px #e7bc6018;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}



.start-new-btn:hover {
  opacity: 0.9;
}
#claimUnlockedBtn {
  background:  #00c372;
  color: #1b1b1b;
  padding: 1rem 1.2rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.4rem;
  cursor: pointer;
  white-space: nowrap;
  display: inline-block;
  margin-top: 2rem;
  box-shadow: 0 4px 12px #00c37218;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#claimUnlockedBtn:hover {
  opacity: 0.9;
}

.vaults-wrapper {
  position: relative;
  overflow-x: hidden;
  padding: 0 1rem;
}

.vaults-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}

/* =============== VAULTS SCROLL SECTION =============== */
.vault-card {
  flex: 0 0 90%;
  height: 200px;
  scroll-snap-align: start;
  background-image: linear-gradient( 109.6deg,  rgba(0,0,0,0.93) 11.2%, rgba(63,61,61,1) 78.9% );

  border-radius: 1.2rem;
  padding: 1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.3rem; /* 👈 reduced spacing between elements */

  box-shadow:
  0 4px 20px rgba(0, 0, 0, 0.6),                 /* deep outer shadow */
  0 0 20px rgba(255, 255, 255, 0.04),            /* wide soft white glow */
  0 0 12px rgba(0, 255, 135, 0.05),              /* optional green glow */
  inset 0 0 0.5px rgba(255, 255, 255, 0.03);     /* gentle inner edge light */

border: 1px solid rgba(255, 255, 255, 0.02);

}
.vault-card:hover {
  transform: scale(1.015);
}

/* Badge */
.vault-amount {
  background-color: #007A33; 
  color: #ccc;
  padding: 0 1rem;
  border: 0.1px solid #007A33;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.7rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 12px #007a3318;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  
}

/* Title */
.vault-purpose {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f5f5f5;
  margin-bottom: 1rem;
}

/* Timer */
.vault-timer {
  font-size: 1.8rem;
  color: #bbb;
  margin-bottom: 1.3rem;
}

/* View Button */
.vault-view {
  background-color: #ffffff;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.4rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  margin-top: 0.3rem;
  
}

.vault-view:hover {
  background-color: #e7bc60;
}


.scroll-arrow {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  background: white;
  color: black;
  font-weight: bold;
  border: none;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1;
}
.scroll-arrow {
  transition: opacity 0.3s ease;
}

.scroll-arrow[style*="display: none"] {
  opacity: 0;
  pointer-events: none;
}


/* === BLOCK 3: TRANSACTION HISTORY TABLE === */
.history-section {
  margin-top: 3rem;
  text-align: center;
}

.history-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Table Container */
.history-table-container {
  max-width: 100%;
  overflow-x: auto;
  background-color: #1f1f1f;
  padding: 1rem;
  border-radius: 1rem;
  margin: 0 auto;
  box-shadow: 0 0 10px #00000022;
}

/* Table Styling */
.history-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.history-table th,
.history-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 1rem;
  white-space: nowrap;
}

.history-table th {
  color: #ccc;
  font-weight: 600;
  border-bottom: 1px solid #333;
}

.history-table td {
  color: #eee;
  border-bottom: 1px solid #222;
}

.history-table a {
  color: #9f9fff;
  text-decoration: none;
  font-size: 0.85rem;
}

/* View All Button */
.history-view-btn {
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  background-color: white;
  color: black;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.5rem 1.8rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}





/* === Savings (Vault) Page section === */

.vault-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
  margin-top: 5rem;
}

.vault-header {
  max-width: 800px;
  margin: 2rem auto 1.5rem;
  padding: 0 1rem;
}


.vault-controls-column {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start; /* aligns buttons to the left */
  margin-bottom: 5rem;
}


.back-btn {
  background-color: #1f1f1f;
  color: #ccc;
  border: none;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.new-savings-btn {
  background-image: linear-gradient(150deg, #007A33, #00cc66);
  color: white;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  font-size: 1.2rem;
  border: 0.2rem;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px #00cc661a;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.new-savings-btn:hover {
  background-color: #00994a;
}

.vault-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.vault-balance-card {
  background-image: linear-gradient( 180deg,  rgba(242,210,89,1) 7.9%, rgba(144,91,39,1) 94.1% );
  border-radius: 1.2rem;
  padding: 1.5rem;
  text-align: center;
  margin: 1rem auto;              /* ✅ center horizontally */
  color: black;
  width: 100%;                    /* ✅ fill full width */
  max-width: 100%;                /* ✅ prevents narrowing */
  box-sizing: border-box;         /* ✅ includes padding in width */
  box-shadow: 0 4px 12px #e7bc601c;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.balance-label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.balance-amount {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.progress-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.progress-bar {
  flex: 1;
  height: 5px;
  background-color: #1f1f1f;
  border-radius: 999px;
  overflow: hidden;
  width: 72%;
  max-width: 250px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, #f0c96b, #00cc66);
  width: 0%;
  transition: width 0.4s ease;
}

.progress-percent {
  font-weight: 600;
  font-size: 1.2rem;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #bbb;
  margin-top: 0.5rem;
}


.vault-action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 1rem;
  flex-wrap: wrap;
}

.top-up-btn,
.withdraw-btn {
  flex: 1 1 45%;
  padding: 1rem 0;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, border 0.3s ease;
}

/* Top Up = Filled Green */
.top-up-btn {
  background-color: #007f36; /* emerald green */
  color: white;
  box-shadow: 0 4px 12px #007f3717;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Withdraw = Outlined Green */
.withdraw-btn {
  background-color: black;
  color: white;
  border: 2px solid #007f36;
   box-shadow: 0 4px 12px #007f3717;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Optional Hover Effects */
.top-up-btn:hover {
  background-color: #00994a;
}

.withdraw-btn:hover {
  background-color: #0c0c0c;
}


.vault-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 2rem;
}

.vault-info-box {
  background-color: #1f1f1f;
  padding: 1rem;
  border-radius: 12px;
  color: white;
}

.vault-info-box .label {
  display: block;
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 0.4rem;
}

.vault-info-box .value {
  font-weight: 700;
  font-size: 1.1rem;
}


.vault-history-section {
  margin-top: 2rem;
  text-align: center;
}

.vault-history-section h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ccc;
}

.vault-history-table-container {
  background-color: #1c1c1c;
  padding: 1rem;
  border-radius: 1rem;
  overflow-x: auto;
}

.vault-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.vault-history-table th,
.vault-history-table td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid #333;
  color: #fff;
}

.vault-history-table a {
  color: #9f9fff;
  text-decoration: none;
}

.vault-history-view-btn {
  margin-top: 1rem;
  background: white;
  color: black;
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}



    /* === Savings Plan Selection Page ===  */

   .savings-hero {
  text-align: center;
  margin: 2rem auto;
  padding: 0 1rem;
  max-width: 800px;
  margin-bottom: 5rem;
}

.savings-back-wrapper {
  text-align: left;
  margin-bottom: 2rem;
}

.back-btn {
  background-color: #1f1f1f;
  color: white;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.savings-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #d4a855;
  margin: 0 0 1rem;
}

.savings-subtext {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 0.3rem;
}

.savings-description {
  font-size: 0.95rem;
  color: #aaa;
  max-width: 700px;
  margin: 0 auto;
}

.savings-plan-section {
  margin-top: 3rem;
  text-align: center;
}

.plan-subheading {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 2rem;
}

.plan-card-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  padding: 0 1rem;
}

.plan-card {
  background-color: #1f1f1f;
  border-radius: 1.2rem;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 0 10px #00000022;
}

.plan-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
}

.plan-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.plan-description {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.plan-btn {
  background-color: #007f36;
  color: white;
  font-weight: 700;
  padding: 0.5rem 1.8rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 12px #007f3717;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-btn:hover {
  background-color: #00994a;
}


      /* === Savings Plan From Page === */


  .savings-form-wrapper {
  padding: 2rem 1rem;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.savings-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.back-btn {
  background-color: #1f1f1f;
  color: white;
  border: none;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #d4a855;
  margin: 0 auto;
  text-align: center;
}

.savings-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: row; /* ⬅️ horizontal layout */
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.form-group label {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  width: 40%;            /* take up 40% of space */
  text-align: left;
  margin-bottom: 0;      /* remove vertical spacing */
}

.form-group input,
.form-group select {
  flex: 1;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  background-color: #1c1c1c;
  color: white;
  border: 1px solid #d4a855;
  border-radius: 12px;
  outline: none;
}

/* Keep placeholder styling */
.form-group input::placeholder {
  color: #ccc;
}

/* Dropdown arrow */
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.form-submit {
  margin-top: 2rem;
  margin-bottom: 4rem;
  text-align: center;
}



.start-saving-btn {
  background-color: #d4a855;
  color: black;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 4px 12px #d4a75518;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.start-saving-btn:hover {
  background-color: #c39b3d;
}


          /* ====  Deposit Form Section ==== */


.deposit-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5rem;
}

.deposit-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.back-btn {
  background-color: #1f1f1f;
  color: white;
  border: none;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 2rem;
}

.vault-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ddd;
  margin: 0;
  text-align: center;
}

.deposit-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.deposit-input {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  background-color: #1c1c1c;
  color: white;
  border: 2px solid #d4a855;
  border-radius: 12px;
  outline: none;
}

.deposit-input::placeholder {
  color: #888;
  font-style: italic;
}

.deposit-btn {
  width: 100%;
  padding: 1rem 0;
  font-size: 1.3rem;
  font-weight: 800;
  background-color: #007f36;
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.deposit-btn:hover {
  background-color: #00994a;
}









/* =============== FOOTER =============== */
footer {
  padding: 1rem 0;
  text-align: center;
  font-size: 1rem;
  background-color: black;
  color: white;
  width: 100%;
  margin-top: 2rem;
}

footer a {
  color: #007A33;
  text-decoration: none;
}












/* =============== DESKTOP MEDIA QUERY =============== */
@media (min-width: 768px) {


.logo img {
  height: 4rem;
}

.logo h1 {
  font-size: 2.5rem;
  margin: 0;
}
/* .wallet-connect-container::before {
  width: 800px;
  height: 800px;
} */

#statusBox {
  font-size: 14px;
}


.wallet-icon {
  width: 80px;
  height: 80px;
}

 .wallet-connect-title {
    font-size: 3rem;
  }

  .wallet-connect-subtext {
    font-size: 1.5rem;
  }

  .connect-wallet-btn {
    font-size: 1.3rem;
    padding: 1rem 2.5rem;
  }


  
 .wrapper {
    width: 100%; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    border-left: 2px solid #1f1f1f;
    border-right: 2px solid #1f1f1f;
  }

  .hero-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .dashboard-hero {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin: 2rem 0;
    padding: 4rem 0;
    gap: 2rem;
  }

  .hero-text {
    display: flex;
    flex: 1;
    max-width: 50%;
    align-items: flex-start;
    text-align: left;
    padding: 0;
  }
  .hero-text h1 {
    font-size: 5rem;
  }
  .hero-text p {
    font-size: 1.6rem;
  }

  .hero-box {
    flex: 1;
    max-width: 400px;
    padding: 2rem;
  }

  .eth-icon {
    width: 100px;
    height: 100px;
    top: 1.5rem;
    right: 1.5rem;
  }

  .hero-box h3 {
    font-size: 3rem;
  }

  .hero-balance {
    font-size: 3rem;
  }

  .hero-wallet {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
  }

  .vaults-scroll {
    scroll-snap-type: x mandatory;
    scrollbar-width: none; 
  }

  .vaults-scroll::-webkit-scrollbar {
    display: none;               /* Chrome, Safari */
  }

 .vault-card {
    flex: 0 0 calc((100% - 2rem) / 3); /* Show exactly 3 per row */
    height: 200px; /* 🔼 Increased height on desktop */
    padding: 1.5rem;
    font-size: 1rem;
  }

  .vault-amount {
    font-size: 2.2rem;
  }

  .vault-purpose {
    font-size: 2rem;
  }

  .vault-timer {
    font-size: 1.7rem;
  }

  .vault-view {
    font-size: 1.5rem;
    padding: 0.4rem 1.2rem;
  }
  .vaults-section h2 {
  font-size: 2rem;
  }

    .savings-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .start-new-btn {
  font-size: 1.5rem;
}


  .start-new-btn {
    align-self: flex-end;
  }


.history-section h2 {
    font-size: 2rem;
}
.history-table th,
.history-table td{
    font-size: 1.2rem;
}

footer {
    font-size: 1.5rem;
}



 .vault-header {
    max-width: 600px;           /* 👈 Match .vault-balance-card width */
    margin: 0 auto 2rem auto;   /* Center it horizontally */
    justify-content: flex-start;
    padding-left: 0;            /* Remove mobile indent */
  }

  .vault-title {
    font-size: 1.8rem;
    margin: 0;
  }

  .back-btn {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
  }

    .new-savings-btn {
    font-size: 1.5rem;
    padding: 1.2rem 1.4rem;
  }

.vault-balance-card {
    max-width: 600px;
    margin: 1.5rem auto;
  }
 .balance-label {
  font-size: 1.3rem;
 }
  .balance-amount {
    font-size: 4rem;
  }

  .progress-bar {
    height: 10px;
    max-width: 300px;
  }
  .progress-percent {
    font-size: 1.5rem;
  }

    .countdown-timer {
    font-size: 2rem;
    margin-bottom: 1rem;
  }


 .vault-action-buttons {
    max-width: 600px;
    margin: 2rem auto;
    flex-wrap: nowrap;
  }

  .top-up-btn,
  .withdraw-btn {
    flex: 1;
  }


 .vault-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 620px; /* Match Top Up section width */
    margin: 0 auto 2rem; /* Center on page */
  }

 .vault-history-section {
    max-width: 630px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .vault-history-table-container {
    border-left: 1px solid #1a1a1a;
    border-right: 1px solid #1a1a1a;
    border-radius: 1rem;
  }






  .savings-form-wrapper {
    padding: 0 2rem;
    margin-top: 3rem;
  }

  .back-btn {
    font-size: 1.1rem;
    padding: 0.7rem 1.6rem;
  }

  .savings-title {
    font-size: 3rem;
  }

  .savings-subtext {
    font-size: 1.3rem;
  }

  .savings-description {
    font-size: 1.1rem;
    max-width: 750px;
  }


.plan-card-container {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .plan-card {
    max-width: 300px;
    padding: 2rem;
  }

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

  .plan-description {
    font-size: 1.1rem;
  }

  .plan-btn {
    font-size: 1.1rem;
    padding: 0.6rem 2.2rem;
  }



 .savings-header {
    flex-direction: column; /* stack vertically */
    align-items: flex-start;
  }

   .form-title {
    font-size: 2.2rem;
  }

  .savings-form {
    max-width: 500px;
    margin: 2rem auto;
    gap: 2rem;
  }

  .form-group label {
    font-size: 1.8rem;
    width: 35%;
  }

  .form-group input,
  .form-group select {
    font-size: 1.1rem;
  }

  .savings-form {
    max-width: 600px;
    margin: 2rem auto;
    gap: 2rem;
  }

  .form-submit {
    text-align: center;
  }

  .start-saving-btn {
    font-size: 2rem;
    padding: 1rem 2.5rem;
  }



 .deposit-header {
    flex-direction: column; /* 💡 Keep vertical layout */
    align-items: flex-start; /* Align left */
    gap: 0.8rem;
    margin-bottom: 2rem;
  }

  .vault-title {
    font-size: 2rem;
  }

  .deposit-form {
    margin-top: 3rem;
  }

  .deposit-input {
    font-size: 1.3rem;
  }

  .deposit-btn {
    font-size: 1.5rem;
  }


  


}


@media (min-width: 1024px) {
  .wrapper {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
  }
}

