* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  }
  
  body {
    background: #e8ecf1;
    color: #222;
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  /* LOGIN */
  .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #ffffff;
  }
  
  .login-box {
    background: #fff;
    border-radius: 16px;
    padding: 50px 40px;
    width: 380px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  }
  
  .login-box h2 {
    margin-bottom: 30px;
    color: #2b5aa8;
    font-size: 26px;
  }
  
  .login-box input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
  }
  
  .login-box button {
    width: 100%;
    padding: 14px;
    background: #2b5aa8;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
  }
  
  .login-box button:hover {
    background: #234a8f;
  }
  
  .error {
    display: none;
    color: #dc2626;
    font-size: 14px;
    margin-top: 10px;
  }
  
  /* DASHBOARD */
  .dashboard {
    display: none;
    width: 100vw;
    max-width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    background: #e8ecf1;
    overflow-x: hidden;
  }
  
  /* HEADER */
  .header {
    background: #2b5aa8;
    color: #fff;
    padding: 20px 20px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header-left {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .meatball {
    font-size: 24px;
    cursor: pointer;
  }
  
  .logo {
    font-size: 16px;
    font-weight: 600;
  }
  
  .header-right {
    display: flex;
    gap: 15px;
    align-items: center;
  }
  
  .mode-toggle {
    cursor: pointer;
    font-size: 20px;
  }
  
  /* MENU */
  .menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 20px;
    right: 20px;
    background: #fff;
    margin: 0;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    border-radius: 12px;
  }
  
  .menu button {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 12px 20px;
    text-align: left;
    cursor: pointer;
    color: #2b5aa8;
    font-weight: 500;
    border-radius: 0;
  }
  
  .menu button:hover {
    background: #f3f4f6;
  }
  
  /* SECTIONS */
  .section {
    display: none;
    padding: 20px;
  }
  
  /* HOME SECTION */
  #homeSection {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .user-card {
    background: #2b5aa8;
    color: white;
    margin: 0 20px 20px;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(43, 90, 168, 0.3);
    max-width: 100%;
  }
  
  .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .user-avatar {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #2b5aa8;
  }
  
  .user-name {
    font-size: 16px;
    font-weight: 600;
  }
  
  .balance-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
  }
  
  .balance-amount {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
  }
  
  .action-row {
    display: flex;
    gap: 10px;
    margin: 20px 20px 0;
    max-width: 100%;
  }
  
  .action-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
  }
  
  .deposit-btn {
    background: #10b981;
    color: white;
  }
  
  /* DEPOSIT INFO */
  .deposit-info {
    margin-top: 20px;
  }
  
  .deposit-row {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
  }
  
  .deposit-row:last-child {
    border-bottom: none;
  }
  
  .deposit-label {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
  }
  
  .deposit-value {
    color: #111827;
    font-weight: 600;
    font-size: 16px;
  }
  
  .transfer-btn {
    background: #2b5aa8;
    color: white;
  }
  
  .statement-btn {
    background: #ef4444;
    color: white;
  }
  
  .info-section {
    background: white;
    margin: 20px;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    max-width: 100%;
  }
  
  .info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
  }
  
  .info-row:last-child {
    border-bottom: none;
  }
  
  .info-label {
    color: #6b7280;
    font-size: 14px;
  }
  
  .info-value {
    color: #111827;
    font-weight: 600;
    font-size: 14px;
  }
  
  .transactions-section {
    background: white;
    margin: 0 20px 20px;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    max-width: 100%;
  }
  
  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .section-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
  }
  
  .download-btn {
    background: #2b5aa8;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
  }
  
  .transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
  }
  
  .transaction-item:last-child {
    border-bottom: none;
  }
  
  .txn-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .txn-type {
    font-size: 13px;
    color: #6b7280;
  }
  
  .txn-desc {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
  }
  
  .txn-date {
    font-size: 12px;
    color: #9ca3af;
  }
  
  .txn-amount {
    font-weight: 600;
    font-size: 14px;
  }
  
  .txn-amount.debit {
    color: #dc2626;
  }
  
  .txn-amount.credit {
    color: #10b981;
  }
  
  /* OTHER SECTIONS */
  .form-section {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  
  .form-section h3 {
    color: #2b5aa8;
    margin-bottom: 20px;
    font-size: 20px;
  }
  
  .form-section input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
  }
  
  .form-section button {
    width: 100%;
    padding: 14px;
    background: #2b5aa8;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
  }
  
  .form-section button:hover {
    background: #234a8f;
  }
  
  /* HISTORY TABLE */
  .scrollable {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 10px;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
  }
  
  th, td {
    border: 1px solid #e5e7eb;
    padding: 12px;
    text-align: left;
    font-size: 14px;
  }
  
  th {
    background: #2b5aa8;
    color: white;
    font-weight: 600;
  }
  
  /* OTP */
  .otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
  }
  
  .otp-box {
    width: 45px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    font-weight: 600;
  }
  
  .otp-box:focus {
    outline: none;
    border-color: #2b5aa8;
  }
  
  /* LOADING SCREEN */
  .loading-screen {
    display: none;
    position: fixed;
    inset: 0;
    background: #2b5aa8;
    color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    z-index: 1000;
  }
  
  .loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 30px;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .loading-screen h2 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
  }
  
  .loading-screen p {
    font-size: 16px;
    opacity: 0.9;
  }
  
  /* PENDING SCREEN */
  .pending-screen {
    display: none;
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #e8ecf1 0%, #d1d9e6 100%);
    color: #333;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    z-index: 1000;
  }
  
  .cancel-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #ef4444;
    border: none;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.3s;
  }
  
  .cancel-btn:hover {
    background: #dc2626;
  }
  
  .pending-icon {
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
  }
  
  .pending-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fbbf24 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 20px rgba(251, 191, 36, 0.1),
                0 0 0 40px rgba(251, 191, 36, 0.05);
    position: relative;
  }
  
  .warning-icon {
    font-size: 80px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
  
  .pending-screen h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #111827;
    font-weight: 700;
  }
  
  .pending-screen p {
    font-size: 16px;
    color: #6b7280;
    margin: 8px 0;
  }
  
  .pending-details {
    font-weight: 600;
    color: #2b5aa8;
    margin-top: 20px;
    font-size: 15px;
    max-width: 400px;
    line-height: 1.6;
  }

  /* DEPOSIT FEE NOTICE - on pending screen */
  .deposit-fee-notice {
    display: block;
    background: #fff8e1;
    color: #7c5c00;
    border: 1px solid #fbbf24;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
    line-height: 1.6;
    text-align: center;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.15);
  }
  
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
  }
  
  /* SUCCESS SCREENS */
  .success-screen {
    display: none;
    position: fixed;
    inset: 0;
    background: #2b5aa8;
    color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    z-index: 1000;
  }
  
  .close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .green-tick {
    font-size: 100px;
    color: #10b981;
    margin-bottom: 20px;
  }
  
  .success-icon {
    font-size: 80px;
    margin-bottom: 20px;
  }
  
  .zoom {
    animation: zoom 0.4s ease;
  }
  
  @keyframes zoom {
    from { transform: scale(0); }
    to { transform: scale(1); }
  }
  
  .success-screen h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .success-screen p {
    font-size: 15px;
    opacity: 0.95;
    margin: 8px 0;
  }
  
  /* FOOTER */
  .footer {
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #6b7280;
  }
  
  .toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #333;
    width: 300px;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 15px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  
  .toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }