/* customer_style.css
   Color scheme per your spec:
   body background: #1b1712
   card gradient: linear-gradient(to bottom, #322213, #201b15, #161412)
   card border: 1px solid #44403d
   primary button bg: #ecbe58, text color black
   links: #feda49
*/

:root{
    --bg: #1b1712;
    --card-grad: linear-gradient(to bottom, #322213, #201b15, #161412);
    --card-border: #44403d;
    --primary: #ecbe58;
    --link: #feda49;
    --muted: rgba(255,255,255,0.65);
  }
  
  /* base */
  body.wl-body {
    background: var(--bg);
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #fff;
    -webkit-font-smoothing:antialiased;
  }
  
  /* login wrapper */
  .login-wrap {
    width: 420px;
    max-width: 92%;
    text-align: center;
  }
  .wl-logo { width: auto; display:block; margin: 0 auto 8px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6)); }
  .brand-sub { color: var(--muted); margin-bottom: 18px; font-size: 0.95rem; }
  
  /* card */
  .wl-card {
    background: var(--card-grad);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    color: #fff;
  }
  
  /* inputs & labels */
  .wl-label { color: var(--muted); font-weight:600; font-size: .9rem; }
  .wl-input, .wl-input:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #45403e !important;
    outline: 0;
    border: 1px solid rgba(255,255,255,0.04);
    color: #fff;
    border-radius: 8px;
    padding: 10px 12px;
  }

  .wl-input::placeholder {
    color: #fff;
    opacity: 1; /* Firefox */
  }
  
  .wl-input::-ms-input-placeholder { /* Edge 12-18 */
    color: #fff;
  }
  
  /* primary button */
  .wl-btn-primary {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(236,190,88,0.12);
  }

  .wl-btn-primary:hover {
    background: var(--primary);
    color: #000;
  }
  
  /* links */
  .wl-link {
    color: var(--link);
    text-decoration: none;
    font-weight: 600;
  }
  
  /* small footer text */
  .login-wrap .small { color: #eee; }
  
  /* Dashboard container */
  .dashboard-wrap { max-width:1200px; margin:28px auto; padding: 24px; }
  
  /* top bar (profile & balance) */
  .topbar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:20px;
    flex-wrap: wrap;
  }
  .profile {
    display:flex;
    gap:14px;
    align-items:center;
  }
  .profile .avatar {
    width:64px; height:64px; border-radius:12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border:1px solid var(--card-border);
    display:inline-flex; align-items:center; justify-content:center;
    font-weight:700; color:#fff;
  }
  /* summary card */
  .summary {
    background: var(--card-grad);
    border:1px solid var(--card-border);
    padding:18px; border-radius:12px;
    display:flex; align-items:center; gap:20px;
    flex-wrap: wrap;
  }
  .balance {
    font-size:2rem; font-weight:800; line-height:1; color:#fff; white-space: nowrap;
  }
  .small-muted { color: var(--muted); font-size:0.9rem; }
  
  /* layout: left card (bank card) + right recent tx */
  .grid {
    display:grid;
    grid-template-columns: 1fr 360px;
    gap:20px;
    margin-top:18px;
  }
  
  /* bank-card placeholder */
  .bank-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border-radius: 16px;
    padding: 14px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    border:1px solid var(--card-border);
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
    position: relative;
  }
  .name-on-card {
    font-family: monospace;
    left: 78px;
    bottom: 37px;
    font-size: 14px;
    position: absolute;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none; /* Prevent accidental selection */
  }
  @media (max-width: 528px) {
    .name-on-card {
      left: 16.5%;
      bottom: 14%;
      font-size: 2.3vw;
    }
  }
  .bank-chip { width:56px; height:40px; background: rgba(0,0,0,0.18); border-radius:8px; border:1px solid rgba(255,255,255,0.04);width: 56px;
    height: 40px;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex
;
    align-items: center;
    justify-content: center; }
  .card-number {
    letter-spacing: 3px;
    font-size:1.2rem;
    font-weight:600;
  }
  .card-name { font-weight:700; text-transform: capitalize; }
  
  /* recent transactions box */
  .recent {
    background: var(--card-grad);
    border:1px solid var(--card-border);
    border-radius:12px;
    padding:14px;
    height:100%;
    overflow:auto;
  }
  .recent h4 { margin-top:0;}
  .tx { display:flex; justify-content:space-between; align-items:center; padding:10px 8px; border-radius:8px; }
  .tx + .tx { margin-top:8px; }
  .tx .meta { color:var(--muted); font-size:0.9rem; }
  .tx .amount { font-weight:700; }
  
  /* link style inside app */
  a.wl-app-link { color: var(--link); text-decoration:none; font-weight:700; }

  .quick-actions {
    margin-top:14px;
    display:flex;
    gap:12px;
  }

  .modal-header {
    border-bottom: 1px solid var(--card-border);
  }

  .modal-footer {
    border-top: 1px solid var(--card-border);
  }
  
  /* responsive */
  @media (max-width:1000px) {
    .grid { grid-template-columns: 1fr; }
    .recent { order: 2; margin-top: 12px; }
  }
  
  @media (max-width:768px) {
    .quick-actions {
      flex-direction: column;
    }
    .topbar {
      flex-direction: column;
      align-items: normal;
    }
    .balance {
      font-size: 1.5rem;
    }
  }