/* =========================================
   GLOBAL RESET
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #ffffff;
  color: #252B42;
  line-height: 1.6;
}

.container {
  max-width: 1170px;
  margin: auto;
  padding: 0 20px;
}

/* =========================================
   HEADER
========================================= */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

.nav-links a {
  margin: 0 18px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #737373;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: #000;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-actions i {
  font-size: 18px;
  cursor: pointer;
}

/* =========================================
   ACCOUNT WRAPPER
========================================= */
.account-wrapper {
  padding: 60px 0 100px;
}

.breadcrumb {
  font-size: 14px;
  color: #888;
  margin-bottom: 25px;
}

.breadcrumb a {
  text-decoration: none;
  color: #888;
}

.breadcrumb a:hover {
  color: #000;
}

.welcome-section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* =========================================
   GRID LAYOUT
========================================= */
.account-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 70px;
  align-items: start;
}

/* =========================================
   SIDEBAR
========================================= */
.sidebar {
  border-right: 1px solid #eee;
  padding-right: 30px;
}

.sidebar-category {
  margin-bottom: 35px;
}

.sidebar-category h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b5b5b5;
  margin-bottom: 20px;
}

.sidebar-category ul {
  list-style: none;
}

.sidebar-category ul li {
  margin-bottom: 14px;
}

.sidebar-category ul li a,
.standalone-link {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  transition: 0.3s;
}

.sidebar-category ul li a:hover,
.standalone-link:hover {
  color: #000;
}

.sidebar-category ul li a.active {
  color: #23A6F0;
  font-weight: 700;
}

.standalone-link {
  display: block;
  margin-bottom: 20px;
}

/* Logout Button */
.logout-btn {
  background: #fff5f5;
  color: #ff4d4d;
  border: 1px solid #ffebeb;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.logout-btn:hover {
  background: #ffeaea;
}

/* =========================================
   CONTENT CARD
========================================= */
.form-container,
.address-book-container,
.my-orders-section,
.wallet-container {
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  border: 1px solid #eee;
}

/* =========================================
   FORM DESIGN
========================================= */
.form-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 25px;
}

.input-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  font-weight: 600;
}

.input-field input {
  width: 100%;
  padding: 14px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 14px;
  transition: 0.3s;
}

.input-field input:focus {
  border-color: #23A6F0;
  outline: none;
}

/* Buttons */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  margin-top: 30px;
}

.save-changes-btn {
  background: #23A6F0;
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.save-changes-btn:hover {
  opacity: 0.9;
}

/* =========================================
   WALLET
========================================= */
.wallet-balance-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.balance-text h2 {
  font-size: 28px;
  font-weight: 700;
}

.balance-text p {
  color: #777;
  font-size: 14px;
}

.btn-add-funds {
  background: #23A6F0;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
}

/* =========================================
   ORDER CARDS
========================================= */
.order-card {
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.card-row {
  display: flex;
  justify-content: space-between;
}

.order-id {
  font-weight: 700;
}

.status-badge {
  background: #2d6a4f;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
}


/* =========================================
   WALLET SECTION – PREMIUM CLEAN DESIGN
========================================= */

.wallet-container {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 12px;
  padding: 40px;
}

/* Wallet Header */
.wallet-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
}

/* Balance Card */
.wallet-balance-card {
  background: #f8f9fb;
  border-radius: 14px;
  padding: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.balance-text h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 5px;
}

.balance-text p {
  font-size: 14px;
  color: #777;
}

.wallet-icon-box i {
  font-size: 38px;
  color: #d0d0d0;
}

/* =========================================
   ADD MONEY SECTION
========================================= */

.add-money-container {
  margin-bottom: 45px;
}

.add-money-container h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.add-money-flex {
  display: flex;
  max-width: 450px;
}

.amount-input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 8px 0 0 8px;
  padding: 0 15px;
  background: #fff;
  flex: 1;
}

.amount-input-wrapper span {
  margin-right: 6px;
  font-weight: 600;
  color: #555;
}

.amount-input-wrapper input {
  border: none;
  padding: 14px 10px;
  width: 100%;
  font-size: 14px;
  outline: none;
}

.btn-add-funds {
  background: #23A6F0;
  color: white;
  border: none;
  padding: 0 28px;
  border-radius: 0 8px 8px 0;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-add-funds:hover {
  opacity: 0.9;
}

/* =========================================
   TRANSACTION HISTORY TABLE
========================================= */

.history-container h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table thead th {
  text-align: left;
  font-size: 13px;
  color: #888;
  font-weight: 600;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.history-table tbody td {
  padding: 18px 0;
  font-size: 14px;
  border-bottom: 1px solid #f7f7f7;
}

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

.amount-col {
  text-align: right;
  font-weight: 700;
}

.pos {
  color: #28a745;
}

.neg {
  color: #dc3545;
}

.icon-refund {
  color: #28a745;
  margin-right: 8px;
  font-size: 12px;
}

.icon-purchase {
  color: #dc3545;
  margin-right: 8px;
  font-size: 12px;
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {

  .wallet-container {
    padding: 25px;
  }

  .wallet-balance-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .add-money-flex {
    flex-direction: column;
  }

  .amount-input-wrapper {
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .btn-add-funds {
    border-radius: 8px;
    height: 45px;
  }

  .history-table thead {
    display: none;
  }

  .history-table tbody tr {
    display: block;
    margin-bottom: 20px;
  }

  .history-table tbody td {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border: none;
  }

  .amount-col {
    justify-content: flex-end;
  }
}


/* =====================================================
   SIDEBAR
===================================================== */
.sidebar {
  border-right: 1px solid #eee;
  padding-right: 35px;
}

.sidebar-section {
  margin-bottom: 45px;
}

.sidebar-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #aaa;
  margin-bottom: 20px;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-menu li {
  margin-bottom: 18px;
}

.sidebar-menu li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  padding-left: 16px;
  position: relative;
  transition: 0.3s ease;
}

.sidebar-menu li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: #000;
  transition: height 0.25s ease;
}

.sidebar-menu li a:hover::before {
  height: 16px;
}

.sidebar-menu li a.active {
  font-weight: 700;
}

.sidebar-menu li a.active::before {
  height: 22px;
}

.standalone-link {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  margin-top: 10px;
}

.logout-btn {
  margin-top: 40px;
  background: none;
  border: none;
  color: #c00000;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
}

.logout-btn:hover {
  color: #000;
}

/* =========================================
   FOOTER
========================================= */
.main-footer {
  margin-top: 80px;
  padding: 60px 0 30px;
  border-top: 1px solid #eee;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.footer-col h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #777;
}

.footer-col ul li:hover {
  color: #000;
  cursor: pointer;
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */
@media (max-width: 992px) {
  .account-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sidebar {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   ACCOUNT MOBILE SCROLL MENU
========================= */

@media (max-width:768px){

  /* stack layout */
  .account-grid{
    display:flex;
    flex-direction:column;
  }

  /* sidebar becomes horizontal */
  .sidebar{
    width:100%;
    overflow-x:auto;
    padding-bottom:10px;
  }

  /* remove section titles on mobile */
  .sidebar-title{
    display:none;
  }

  /* horizontal menu */
  .sidebar-menu{
    display:flex;
    gap:12px;
    overflow-x:auto;
  }

  .sidebar-menu li{
    flex:0 0 auto;
    list-style:none;
  }

  .sidebar-menu a{
    white-space:nowrap;
    padding:8px 14px;
    background:#f5f5f5;
    border-radius:8px;
    font-size:13px;
  }

  /* active tab */
  .sidebar-menu a.active{
    background:#111;
    color:#fff;
  }

  /* hide scrollbar */
  .sidebar-menu::-webkit-scrollbar{
    display:none;
  }

}

.container {
    max-width: 95%;
    margin: 85px auto;
    padding: 0 15px;
}

/* General Setup */
body { font-family: 'Montserrat', sans-serif; margin: 0; background-color: #fff; color: #252B42; }

/* Header & Dropdown */
.main-header { display: flex; justify-content: space-between; align-items: center; padding: 25px 0; }
.logo { font-size: 24px; font-weight: 700; }
.nav-links a { margin: 0 15px; text-decoration: none; color: #737373; font-weight: 600; font-size: 14px; }
.header-actions { display: flex; align-items: center; gap: 25px; }
.icon-group i { font-size: 18px; cursor: pointer; color: #252B42; margin-left: 15px; }

.user-menu-container { position: relative; }
.user-profile i { font-size: 28px; cursor: pointer; }
.account-dropdown {
    position: absolute; right: 0; top: 45px; width: 220px;
    background: rgba(0, 0, 0, 0.85); border-radius: 8px;
    padding: 15px 0; display: none; z-index: 100;
}
.account-dropdown.show { display: block; }
.dropdown-item { display: flex; align-items: center; gap: 12px; padding: 10px 20px; color: #fff; text-decoration: none; font-size: 14px; }


/* ==========================================
   PROFESSIONAL ECOMMERCE ACCOUNT PAGE
   (NO HEADER / NO FOOTER)
========================================== */

.account-wrapper {
  padding: 40px 0 70px;
}

.welcome-section {
  margin-top: 10px;
}



.welcome-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 40px 0;
}


/* Breadcrumb */
.breadcrumb {
  font-size: 14px;
  color: #8a8a8a;
  margin-bottom: 30px;
}

.breadcrumb a {
  text-decoration: none;
  color: #555;
}

.breadcrumb a:hover {
  color: #000;
}

.active-page {
  color: #000;
  font-weight: 600;
}


/* ==========================================
   GRID STRUCTURE
========================================== */

.account-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 70px;
  align-items: start;
}

/* ==========================================
   CLASSY PROFESSIONAL SIDEBAR
========================================== */

.sidebar {
  padding-right: 40px;
  border-right: 1px solid #ededed;
}

/* Section spacing */
.sidebar-section {
  margin-bottom: 50px;
}

/* Section title */
.sidebar-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b5b5b5;
  margin-bottom: 22px;
}

/* Menu list */
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin-bottom: 18px;
}

/* Links */
.sidebar-menu li a,
.standalone-link {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  padding-left: 18px;
  position: relative;
  transition: 0.3s ease;
}

/* Animated left indicator */
.sidebar-menu li a::before,
.standalone-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: #000;
  transition: height 0.3s ease;
}

/* Hover */
.sidebar-menu li a:hover::before,
.standalone-link:hover::before {
  height: 18px;
}

/* Active */
.sidebar-menu li a.active {
  font-weight: 700;
}

.sidebar-menu li a.active::before {
  height: 22px;
}

/* Wishlist spacing */
.standalone-link {
  margin-top: 10px;
}

/* Logout */
.logout-btn {
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: #c00000;
  cursor: pointer;
  padding: 0;
  transition: 0.3s ease;
}

.logout-btn:hover {
  color: #000;
}

/* ==========================================
   CONTENT AREA
========================================== */

.account-content {
  background: #ffffff;
  padding: 50px;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Section Titles */
.account-content h3,
.account-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 30px;
}

/* ==========================================
   FORM DESIGN
========================================== */

.form-container {
  padding: 0;
  box-shadow: none;
  background: none;
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 35px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-bottom: 30px;
}

.input-field label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  color: #555;
}

.input-field input,
.password-change-section input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.25s ease;
}

.input-field input:focus,
.password-change-section input:focus {
  border-color: #000;
  outline: none;
}

/* Password Section */
.password-change-section h4 {
  margin: 40px 0 20px;
  font-size: 16px;
  font-weight: 700;
}

.password-change-section input {
  margin-bottom: 15px;
}

/* ==========================================
   BUTTONS
========================================== */

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  margin-top: 35px;
}

.cancel-text-btn {
  background: none;
  border: none;
  font-weight: 600;
  cursor: pointer;
  color: #777;
  font-size: 14px;
}

.save-changes-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 16px 45px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.save-changes-btn:hover {
  opacity: 0.85;
}

/* ==========================================
   ORDER / RETURN CARDS
========================================== */

.account-card {
  background: #fafafa;
  padding: 30px;
  border-radius: 14px;
  margin-bottom: 25px;
  border: 1px solid #f0f0f0;
}

.account-card h5 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.account-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.account-price {
  font-size: 20px;
  font-weight: 700;
  margin-top: 10px;
}

/* Status Badge */
.status-badge {
  padding: 6px 16px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
}

.status-placed {
  background: #f1f1f1;
  color: #333;
}

.status-returned {
  background: #f4f4f4;
  color: #444;
}

.status-approved {
  background: #e6f2ff;
  color: #0066cc;
}

/* ==========================================
   WALLET SECTION
========================================== */

.wallet-box {
  background: #fafafa;
  padding: 35px;
  border-radius: 14px;
  margin-bottom: 30px;
  border: 1px solid #f0f0f0;
}

.wallet-balance {
  font-size: 32px;
  font-weight: 700;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 992px) {

  .account-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .sidebar {
    border-right: none;
    border-bottom: 1px solid #ececec;
    padding-bottom: 30px;
    margin-bottom: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .account-content {
    padding: 35px;
  }

  .welcome-section h2 {
    font-size: 22px;
  }

}

/* Footer Global */
.main-footer {
    background-color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
}

/* Footer Top Bar */
.footer-top {
    background-color: #FAFAFA; /* Light gray background from Figma */
    padding: 40px 0;
}

.footer-brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand-row .logo {
    font-size: 24px;
    font-weight: 700;
    color: #252B42;
}

/* Sidebar Logout Fix */
.logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff5f5;
    color: #ff4d4d;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    width: fit-content;
    margin-top: 20px;
    border: 1px solid #ffebeb;
}
.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #23A6F0; /* Primary blue color for icons */
    font-size: 24px;
}

/* Footer Middle (Links) */
.footer-middle {
    padding: 70px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns as seen in design */
    gap: 30px;
}

.footer-col h5 {
    font-size: 16px;
    font-weight: 700;
    color: #252B42;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #737373;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #23A6F0;
}

/* Newsletter Input */
.subscribe-form {
    display: flex;
    height: 50px;
}

.subscribe-form input {
    background: #F9F9F9;
    border: 1px solid #E6E6E6;
    border-radius: 5px 0 0 5px;
    padding: 0 20px;
    flex: 1;
    font-size: 14px;
}

.subscribe-form button {
    background-color: #23A6F0;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    font-weight: 400;
    cursor: pointer;
}

.form-text {
    font-size: 12px;
    color: #737373;
    margin-top: 10px;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #FAFAFA;
    padding: 25px 0;
}

.footer-bottom p {
    font-size: 14px;
    font-weight: 700;
    color: #737373;
    text-align: left;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .newsletter { grid-column: span 2; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .newsletter { grid-column: span 1; }
    .footer-brand-row { flex-direction: column; gap: 20px; text-align: center; }
}
/* Container for the cart and checkout area */
.cart-page {
    margin-bottom: 40px; /* Reduced from 100px for a smaller gap */
}

/* The ENVA Brand Section in Footer */
.main-footer {
    border-top: 1px solid #F1F1F1;
    padding-top: 40px; /* Smaller internal top padding */
}

/* Spacing between ENVA logo and the 5-column grid */
.footer-top {
    margin-bottom: 30px; /* Tightens the area around the ENVA logo */
}
/* =====================================================
   MOBILE ACCOUNT TABS (LIKE TOKYOSPORTS)
===================================================== */

@media (max-width: 768px) {

  /* remove grid sidebar layout */
  .account-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* sidebar becomes horizontal */
  .sidebar {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;

    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE */
  }

  .sidebar::-webkit-scrollbar {
    display: none;                /* Chrome */
  }

  /* hide section headings */
  .sidebar-category h4 {
    display: none;
  }

  /* flatten lists */
  .sidebar-category ul {
    display: flex;
    gap: 12px;
    padding: 0;
  }

  .sidebar-category ul li {
    margin: 0;
    white-space: nowrap;
  }

  /* tab style */
  .sidebar-category ul li a,
  .standalone-link {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 20px;
    background: #f5f5f5;
    font-size: 14px;
    font-weight: 600;
    color: #737373;
    text-decoration: none;
    transition: 0.3s;
  }

  /* active tab */
  .sidebar-category ul li a.active {
    background: #23A6F0;
    color: #fff;
  }

  /* wishlist as tab */
  .standalone-link {
    background: #f5f5f5;
  }

  /* hide logout button from tab row */
  .logout-btn {
    display: none;
  }

  /* form spacing fix */
  .form-container {
    padding: 25px;
  }

  .welcome-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }
}


/* =========================
   ACCOUNT MOBILE SCROLL MENU
========================= */

@media (max-width:768px){

  /* stack layout */
  .account-grid{
    display:flex;
    flex-direction:column;
  }

  /* sidebar becomes horizontal */
  .sidebar{
    width:100%;
    overflow-x:auto;
    padding-bottom:10px;
  }

  /* remove section titles on mobile */
  .sidebar-title{
    display:none;
  }

  /* horizontal menu */
  .sidebar-menu{
    display:flex;
    gap:12px;
    overflow-x:auto;
  }

  .sidebar-menu li{
    flex:0 0 auto;
    list-style:none;
  }

  .sidebar-menu a{
    white-space:nowrap;
    padding:8px 14px;
    background:#f5f5f5;
    border-radius:8px;
    font-size:13px;
  }

  /* active tab */
  .sidebar-menu a.active{
    background:#111;
    color:#fff;
  }

  /* hide scrollbar */
  .sidebar-menu::-webkit-scrollbar{
    display:none;
  }

}

/* =========================
   MOBILE ACCOUNT SPACING
========================= */

@media (max-width:768px){

  /* push the hello text down */
  .welcome-section{
    margin-top:20px;
    margin-bottom:12px;
  }

  /* spacing for horizontal menu */
  .sidebar{
    margin-top:8px;
    margin-bottom:18px;

    
  }

}

/* MOBILE ACCOUNT SPACING FIX */

@media (max-width:768px){

  .account-wrapper{
    padding-top:70px;
  }

}

@media (max-width:768px){

  .wallet-content-area{
    width:100%;
    max-width:100%;
    margin:0;
    padding:20px 16px;
  }

  .wallet-balance-card{
  background:#fff;
  border-radius:12px;
  padding:20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  box-shadow:0 4px 20px rgba(0,0,0,0.05);
  margin-bottom:20px;
}

.balance-text h2{
  font-size:22px;
  font-weight:700;
}

.balance-text p{
  font-size:13px;
  color:#777;
}

.add-money-container{
  background:#fff;
  padding:16px;
  border-radius:10px;
  margin-bottom:20px;
  box-shadow:0 4px 20px rgba(0,0,0,0.04);
}

.add-money-flex{
  display:flex;
  gap:10px;
}

.amount-input-wrapper{
  flex:1;
  display:flex;
  align-items:center;
  border:1px solid #ddd;
  border-radius:8px;
  padding:10px;
}

.amount-input-wrapper input{
  border:none;
  outline:none;
  width:100%;
}

.btn-add-funds{
  background:#007bff;
  color:#fff;
  border:none;
  padding:10px 16px;
  border-radius:8px;
  cursor:pointer;
}


.history-container{
  background:#fff;
  border-radius:10px;
  padding:16px;
  box-shadow:0 4px 20px rgba(0,0,0,0.04);
}

.history-table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}

.history-table th{
  text-align:left;
  color:#777;
  font-weight:600;
  padding:10px 0;
  border-bottom:1px solid #eee;
}

.history-table td{
  padding:12px 0;
  border-bottom:1px solid #f5f5f5;
}

.amount-col{
  text-align:right;
}

.pos{
  color:#16a34a;
  font-weight:600;
}

.neg{
  color:#dc2626;
  font-weight:600;
}
}