* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}
/* Default light theme */
:root {
  --bg-color: #f4f4f4;
  --text-color: #333;
  --card-bg: #fff;
  --primary-color: #4f46e5;
  --secondary-color: #8b5cf6;
}

/* Dark theme */
body.dark {
  --bg-color: #0b0f1a;
  --text-color: #e5e7eb;
  --muted-text: #9ca3af;

  --card-bg: #111827;
  --card-border: #1f2933;

  --primary-color: #38bdf8;
  --secondary-color: #6366f1;

  --input-bg: #0f172a;
  --hover-bg: #1e293b;}

/* Apply variables */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
}

.card, .budget-card, .report-card, .settings-card, .modal-content {
  background-color: var(--card-bg);
}

/* Buttons and highlights */
.primary-btn {
  background-color: var(--primary-color);
  color: #fff;
}
/* Reports Page Cards Buttons Wrapper */
.reports-buttons {
    display: flex;
    gap: 20px;           
    margin-top: 20px; 
    margin-bottom: 20px;  
    flex-wrap: wrap;
}

/* Make cards clickable like buttons */
.report-card-btn {
    cursor: pointer;
    padding: 15px 20px;      /* reduce overall height */
    border-radius: 12px;     
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
    flex: 1 1 200px;         
    min-height: 80px;        /* reduce height */
    display: flex;
    justify-content: space-between; /* label left, icon right */
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.report-card-btn:hover {
    transform: translateY(-3px); /* smaller hover lift */
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Label styling */
.report-card-btn p {
    font-size: 16px;
    font-weight: 600;
    margin: 0;   /* remove bottom margin since icon is right */
}

/* Icon styling on right, blue color */
.report-card-btn h2 {
    margin: 0;
}

.report-card-btn h2 i {
    font-size: 28px;
    color: #1E90FF; /* blue color */
}


.app {
  display: none; /* Hide the app content initially */

  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 250px;
  background:  var(--card-bg);;
  padding: 20px;
  border-right: 1px solid #e6e6e6;
}

.logo {
  color: #5b5cff;
  margin-bottom: 30px;
}

.sidebar nav a {
  display: block;
  padding: 12px;
  margin-bottom: 8px;
  color: #555;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
}

.sidebar nav a.active,
.sidebar nav a:hover {
  background: #eef0ff;
  color: #5b5cff;
}

.scan {
  text-align: center;
  background: #5b5cff;
  color: white !important;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  line-height: 60px;
  margin: 20px auto;
}

/* Content */
.content {
  flex: 1;
  padding: 30px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.header h1 {
  font-size: 26px;
}

.header p {
  color: #777;
}

.date {
  background: #ffffff;
  padding: 10px 16px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.card h2 {
  margin: 10px 0;
}

.card span {
  font-size: 14px;
  color: #777;
}

.card small {
  color: #888;
}

/* Card colors */
.blue { border-left: 4px solid #5b5cff; }
.purple { border-left: 4px solid #9b6bff; }
.yellow { border-left: 4px solid #ffb703; }
.green { border-left: 4px solid #2ec4b6; }

/* Trends */
.trends {
  margin-top: 40px;
}

.placeholder {
  margin-top: 15px;
  height: 200px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
}
/* Floating Action Button */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #5b5cff;
  color: white;
  font-size: 32px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(91, 92, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-btn:hover {
  background: #4748e6;
  transform: scale(1.05);
}
.filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.filters input,
.filters select,
.filters button {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.filters button {
  background: #5b5cff;
  color: white;
  border: none;
  cursor: pointer;
}

.charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 20px;
  background: var(--card-bg);
  padding: 16px;
  border-radius: 16px;
}
.charts canvas {
  height: 180px !important;
  max-width: 260px;
  margin: auto;
}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.invoice-btn {
    background: #2563eb; /* blue */
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.invoice-btn:hover {
    background: #1e40af;
}


/* ================= TRANSACTIONS PAGE ================= */

.transactions-page {
  padding: 20px;
}

.transactions-header h1 {
  font-size: 28px;
  margin-bottom: 5px;
}

.transactions-header p {
  color: #777;
  font-size: 14px;
}

/* Controls */
.transactions-controls {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--input-bg);
  padding: 10px 12px;
  border-radius: 10px;
  border: 2px solid var(--input-border);
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
}

.filter-box select {
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: #f2f4f8;
}

/* Transactions List */
.transactions-list {
  margin-top: 40px;
}
.transactions-controls {
  display: flex;
  flex-direction: column; /* Stack search and filters vertically */
  gap: 10px;
}
.transaction-item {
  background: var(--card-bg);
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.search-box i {
  color: var(--muted-text);
  font-size: 16px;
    margin-right: 8px;

}
.search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
}
.filters-row.categories-vendors {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
/* Second filters row: start and end dates */
.filters-row.dates {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.filter-box{
   display: flex;
  flex-direction: column;
  font-size: 14px;
}
.filters input,
.filters select,
.filter-box select,
.filter-box input[type="date"] {
  background: var(--input-bg);
  color: var(--text-color);
  border: 1px solid var(--input-border);
}

.filters input::placeholder {
  color: var(--muted-text);
}

.filter-box select,
.filter-box input[type="date"] {
  padding: 6px 8px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid var(--input-border);
}
.transaction-left h4 {
  margin: 0;
  font-size: 15px;
}

.transaction-left span {
  font-size: 12px;
  color: #777;
}

.transaction-right {
  font-weight: bold;
}
.transaction-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tx-category {
    font-size: 13px;
    color: #666;
}

.tx-date {
    font-size: 12px;
    color: #999;
}


/* Empty State */
.empty-state {
  text-align: center;
  color: #888;
}

/* Floating Add Button */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: #5b5bf7;
  color: #fff;
  border-radius: 50%;
  font-size: 30px;
  border: none;
  cursor: pointer;
}
/* ====== BUDGETS ====== */
.budgets-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.primary-btn {
  background: #4f46e5;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.budgets-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.budget-card {
  background: #b8b8fa;
  padding: 16px;
  border-radius: 12px;
}

.budget-card h4 {
  margin-bottom: 6px;
}

.progress-bar {
  background: #2a2540;
  height: 10px;
  border-radius: 10px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: #22c55e;
}

.progress.warning {
  background: orange;
}

.progress.danger {
  background: red;
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #5b5cff;
  padding: 30px;
  border-radius: 12px;
  width: 350px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* ===== REPORTS ===== */
.reports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 10px;
}

.report-controls {
  display: flex;
  gap: 10px;
}

.report-controls input {
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #5b5cff;
  background: #5b5cff;
  color: white;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.report-card {
  background: #120a24;
  padding: 16px;
  border-radius: 16px;
}

.report-card h3 {
  margin-bottom: 12px;
}
.export-btn{
    padding: 8px;
  border-radius: 8px;
  border: 1px solid #5b5cff;
  background: #5b5cff;
  color: white;
}
/* ===== SETTINGS ===== */
.settings-header {
  margin-bottom: 20px;
}

.settings-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 50px;
  height: 50px;
  background: #4f46e5;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.profile-info span {
  color: #aaa;
  font-size: 14px;
}

.settings-section-title {
  margin: 20px 0 10px;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.setting-item p {
  font-size: 13px;
  color: #aaa;
}

/* Scan */
.scan-card {
  background: var(--card-bg, #fff);
  padding: 20px;
  border-radius: 12px;
  max-width: 500px;
}

.scan-status {
  margin-top: 10px;
  font-weight: 500;
  color: #6b7280;
}

.receipt-preview {
  max-width: 100%;
  margin: 15px 0;
  border-radius: 10px;
  display: none;
}

#lineItems input {
  margin-bottom: 6px;
}
/* ===== SIDEBAR SCAN BUTTON (DESKTOP) ===== */
/* ===== SIDEBAR SCAN (DESKTOP) ===== */
.sidebar .scan-btn {
  width: 64px;
  height: 64px;
  margin: 25px auto 0;

  border-radius: 50%;
  justify-content: center;
}

.sidebar .scan-btn span {
  display: none;
}

/* ===== TRANSACTIONS SCAN (DESKTOP) ===== */
.scan-tx-btn {
  margin-left: auto;
  margin-bottom: 15px;
  padding: 10px 16px;
  border-radius: 10px;
}


.sidebar .scan-btn i {
  width: 100%;
  height: 100%;
  font-size: 22px;
}

/* ===== SCAN BUTTON (SIDEBAR) ===== */
.scan-btn {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 20px;
  padding: 10px 14px;
  border-radius: 999px;

  background: #6366f1;
  color: #fff;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.3s ease;
}

.scan-btn i {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #6366f1;
  border-radius: 50%;
  color: white;
}

.scan-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

/* Toggle Switch */
.switch {
  position: relative;
  width: 46px;
  height: 24px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  inset: 0;
  background: #555;
  border-radius: 20px;
  cursor: pointer;
}

.slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  background: white;
  border-radius: 50%;
  left: 3px;
  top: 3px;
  transition: 0.3s;
}

input:checked + .slider {
  background: #4f46e5;
}

input:checked + .slider::before {
  transform: translateX(22px);
}
/* Modal Background */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* Modal Box */
.modal-content {
  background: var(--card-bg);
  color: var(--text-color);
  width: 450px;          /* wider */
  max-height: 80vh;      /* max height relative to viewport */
  overflow-y: auto;      /* scroll if content is taller than max-height */
  border-radius: 16px;
  padding: 25px;         /* optional: more padding for nicer look */
}


/* Header */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  color: var(--primary-color);
}

.close {
  font-size: 24px;
  cursor: pointer;
}
.btn-icon {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.edit-btn i {
  color: #2563eb; /* blue-600 */
  font-size: 18px;
}

.edit-btn:hover {
  background: rgba(37, 99, 235, 0.12);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
}

.edit-btn:hover i {
  color: #1d4ed8; /* darker blue */
}
.delete-btn i {
  color: #dc2626; /* red-600 */
  font-size: 18px;
}

.delete-btn:hover {
  background: rgba(220, 38, 38, 0.12);
  box-shadow: 0 6px 14px rgba(220, 38, 38, 0.25);
  transform: translateY(-2px);
}

.delete-btn:hover i {
  color: #b91c1c;
}
.transaction-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Form */

.modal-form {
  margin-top: 15px;
}

.modal-form label {
  font-size: 14px;
  display: block;
  margin: 10px 0 5px;
}

.modal-form input,
.modal-form select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
}

/* Row */
.row {
  display: flex;
  gap: 10px;
}

.row div {
  flex: 1;
}

/* Checkbox */
.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 12px;
  background: #4c63f3;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
}
/* For tablets and smaller screens */
@media screen and (max-width: 1024px) {
  .app {
    flex-direction: column; /* Sidebar on top, content below */
  }

  .sidebar {
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid #e6e6e6;
    padding: 10px;
  }

  .sidebar nav {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .sidebar nav a {
    padding: 8px 12px;
  }

  .premium {
    display: none; /* hide premium box on small screens */
  }
}
/* Desktop: scan hidden (sidebar already has one) */
@media (min-width: 769px) {
  .global-scan-btn {
    display: none;
  }
}
@media (max-width: 768px) {

  .global-scan-btn {
    position: fixed;
    bottom: 170px;   /* ABOVE + button */
    right: 20px;

    width: 56px;
    height: 56px;

    border-radius: 50%;
    background: #2563eb;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    z-index: 1100;
  }

  .global-scan-btn span {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .charts {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .charts canvas {
    max-width: 100% !important;
    height: 200px !important;
  }
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap; /* allow wrapping on small screens */
}

.filters input,
.filters select,
.filters button {
  flex: 1 1 100px; /* grow/shrink */
}
@media screen and (max-width: 600px) {
  .transactions-controls {
    flex-direction: column;
    gap: 10px;
  }

  .budgets-header {
    flex-direction: column;
    gap: 10px;
  }

  .reports-header {
    flex-direction: column;
    gap: 10px;
  }

  .row {
    flex-direction: column; /* modal form rows stack on mobile */
  }
}
@media screen and (max-width: 480px) {
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 28px;
    bottom: 20px;
    right: 20px;
      z-index: 1000;

  }
}
@media screen and (max-width: 480px) {
  .modal-content {
    width: 90%; /* almost full width */
    padding: 15px;
  }
}
/* Bottom nav hidden by default (desktop) */
.bottom-nav {
  display: none;
}

/* Mobile: show bottom nav, hide sidebar */
@media screen and (max-width: 768px) {

  .sidebar {
    display: none; /* hide desktop sidebar */
  }

  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    border-top: 1px solid #ddd;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  }

  .bottom-nav a {
    flex: 1;
    text-align: center;
    font-size: 20px;
    color: #555;
    text-decoration: none;
  }

  .bottom-nav a.active,
  .bottom-nav a:hover {
    color: var(--primary-color);
  }

  .content {
    padding-bottom: 70px; /* add space for bottom nav */
  }
}
/* Mobile header hidden by default */
.mobile-header {
  display: none;
}

/* Mobile header visible on small screens */
@media screen and (max-width: 768px) {
  .mobile-header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--card-bg);
    border-bottom: 1px solid #ddd;
    align-items: center;
    justify-content: center;
    z-index: 1001; /* above content */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .mobile-header .logo {
    margin-top: 25px;
    font-size: 20px;
    color: var(--primary-color);
  }

  /* Adjust content padding so it doesn't go under header */
  .content {
    padding-top: 70px; /* space for mobile header */
  }

  /* Bottom nav adjustments already done */
  .content {
    padding-bottom: 70px; /* space for bottom nav */
  }
  /* + Add Transaction */
  .floating-btn {
    bottom: 100px;
    right: 20px;
    z-index: 1000;
  }

  /* Scan floating */
  .scan-btn {
    position: fixed;
    bottom: 170px;   /* 👈 ABOVE + */
    right: 20px;

    width: 56px;
    height: 56px;
    padding: 0;

    border-radius: 50%;
    justify-content: center;

    z-index: 1100;
  }

  .scan-btn span {
    display: none;
  }

  .scan-btn i {
    font-size: 20px;
  }
  }

.bottom-nav a i {
    font-size: 22px;
    color: #555;
}

.bottom-nav a.active i,
.bottom-nav a:hover i {
    color: var(--primary-color);

}
/* ===== Dark Mode Card Glow ===== */

body.dark .budget-card,
body.dark .report-card,
body.dark .settings-card,
body.dark .transaction-item,
body.dark .charts {
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.25),
    0 0 18px rgba(56, 189, 248, 0.35),
    0 10px 30px rgba(0, 0, 0, 0.7);
}
body.dark .sidebar {
    background: #121212; /* dark bg */
}

body.dark .sidebar .logo,
body.dark .sidebar nav a {
    color: #ffffff;  /* white text */
}
body.dark .sidebar nav a:hover {
    background: #274c77;
}
.modal-content {
  background: var(--card-bg);
  color: var(--text-color);
  border: 1px solid var(--card-border);
}

.modal-header h2 {
  color: var(--primary-color);
}

.modal-form input,
.modal-form select {
  background: var(--input-bg);
  color: var(--text-color);
  border: 1px solid var(--input-border);
}
.budget-card {
  position: relative; /* icon ko position karne ke liye */
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
  background-color: var(--card-bg);
  display: flex;
  flex-direction: column;
}

.budget-card .delete-budget-btn {
  position: absolute;   /* card ke relative ke hisaab se */
  top: 15px;            /* top se thoda space */
  right: 15px;          /* right side me */
  background: none;     /* button ka background remove */
  border: none;         /* button border remove */
  color: red;           /* icon red color */
  cursor: pointer;
  font-size: 18px;      /* icon size adjust kar sakte ho */
}

.budget-card .delete-budget-btn:hover {
  color: darkred;       /* hover me darker red */
}
table th {
  background-color: #4f46e5;
  color: white;
}
table tr:nth-child(even) {
  background-color: #f3f3f3;
}
/* Flex container for search + download button */
.transactions-controls .controls-top {
    display: flex;
    justify-content: space-between; /* search left, button right */
    align-items: center;
    margin-bottom: 15px;
}

/* Blue button style */
.btn-blue {
    background-color: #1d4ed8; /* nice blue */
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-blue:hover {
    background-color: #2563eb; /* slightly lighter blue on hover */
}
#lockScreen {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.lock-card {
  background: white;
  padding: 30px;
  width: 320px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.lock-card input {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
}

.lock-card button {
  width: 100%;
  padding: 10px;
  background: #1d2671;
  color: white;
  border: none;
  cursor: pointer;
}

#errorMsg {
  color: red;
  margin-top: 10px;
}




#signupScreen ,#forgotScreen{
  display: none;       /* default hidden */
  position: fixed;     /* screen ke upar overlay ke liye */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* optional semi-transparent overlay */
  display: flex;
  justify-content: center; /* horizontally center */
  align-items: center;     /* vertically center */
  z-index: 1000;           /* ensure screen is on top */
}

.lock-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  width: 350px;
  max-width: 90%;
}
.input-wrapper {
  position: relative;
  margin-bottom: 15px;
}

.input-wrapper i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #555;
}

.input-wrapper input {
  width: 100%;
  padding: 10px 10px 10px 35px; /* left padding for icon */
  border-radius: 5px;
  border: 1px solid #ccc;
}
