/* Basic Reset & Body Styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #f0f2f5;
  color: #1c1e21;
  /* Simulate mobile view */
  max-width: 400px;
  margin: 20px auto;
  border: 1px solid #dce0e6;
  min-height: 800px;
  position: relative;
  overflow-x: hidden;
  display: flex;
  /* Use flexbox for layout */
  flex-direction: column;
  /* Stack header, main, footer */
}

.loader {
  position: fixed;
  background: #204051;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader i {
  font-size: 65px;
  color: white;
}

body:not(.panel-open):not(.drawer-open) {
  overflow-y: auto;
}

body.panel-open,
body.drawer-open {
  overflow-y: hidden;
}

/* Prevent scroll when overlays are active */

/* --- App Header --- */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  /* Consistent padding */
  background-color: #ffffff;
  /* Header background */
  border-bottom: 1px solid #e4e6eb;
  position: sticky;
  /* Make header sticky */
  top: 0;
  z-index: 900;
  /* Below overlays */
  flex-shrink: 0;
  /* Prevent header shrinking */
}

.menu-btn {
  /* Hamburger button */
  background: none;
  border: none;
  font-size: 1.5em;
  color: #4b4f56;
  cursor: pointer;
  padding: 5px;
}

.header-title {
  /* Optional: Add a title if needed */
  font-size: 1.2em;
  font-weight: 600;
  color: #1c1e21;
  /* Centering if no menu button */
  /* position: absolute; left: 50%; transform: translateX(-50%); */
}

.notification-container {
  position: relative;
}

.notification-btn {
  background: none;
  border: none;
  font-size: 1.5em;
  color: #4b4f56;
  cursor: pointer;
  padding: 5px;
  display: block;
}

.notification-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #dc3545;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7em;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid white;
  transform: translate(30%, -30%);
}

.notification-badge:empty {
  display: none;
}

/* --- Main Content Area --- */
.main-content {
  flex-grow: 1;
  /* Allow main content to fill space */
  padding: 20px;
  /* Padding for content inside */
  padding-bottom: 80px;
  /* Add padding to avoid overlap with bottom nav */
}

.dashboard-container {
  /* Existing container for dashboard items */
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Profile Greeting (Moved inside main content for this example) */
.profile-greeting-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
  /* Adjust spacing */
}

.avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #ced4da;
  object-fit: cover;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.greeting-text span {
  display: block;
  color: #606770;
  font-size: 0.9em;
}

.greeting-text h2 {
  font-size: 1.3em;
  font-weight: 600;
  color: #1c1e21;
  margin: 0;
}


/* Card Style */
.card-style {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
}

/* Balance Section */
.balance-section {
  background: linear-gradient(135deg, #66cc9a, #3a9a8a);
  color: white;
  position: relative;
}

.balance-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.balance-title {
  font-size: 0.95em;
  opacity: 0.9;
  margin-right: auto;
}

.balance-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.2em;
  cursor: pointer;
  opacity: 0.9;
  margin-left: 10px;
}

.currency-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 6px 5px;
  border-radius: 20px;
  font-size: 0.65em;
  cursor: pointer;
  position: absolute;
  top: 35%;
  right: 0;


}

.currency-selector .flag-icon {
  height: auto;
  background-color: #ccc;
  border-radius: 3px;
}

.balance-amount {
  font-size: 2.2em;
  font-weight: 700;
  margin: 15px 0 25px;
  text-align: left;
  letter-spacing: -1px;
}

.balance-amount.hidden {
  font-size: 2em;
  letter-spacing: 2px;
}

.balance-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.balance-actions .action-btn {
  background-color: rgba(255, 255, 255, 0.25);
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
  cursor: pointer;
  transition: background-color 0.2s ease;
  flex-grow: 1;
  justify-content: center;
  text-align: center;
}

.balance-actions .action-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.balance-actions .action-btn.more-options {
  padding: 10px;
  min-width: 40px;
  flex-grow: 0;
  justify-content: center;
}

.balance-actions .action-btn.more-options span {
  display: none;
}

/* Quick Actions Grid */
.quick-actions {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  text-align: center;
  padding: 10px 0;
}

.action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-basis: 18%;
}

.action-icon-wrapper {
  background-color: #e4e6eb;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  font-size: 1.4em;
  color: #343a40;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.action-icon-wrapper:hover {
  background-color: #d8dadf;
}

.action-item span {
  font-size: 0.8em;
  color: #606770;
}

/* Card Display Section */
.card-display-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card-visual {
  background: linear-gradient(110deg, #3a6ea5, #204051);
  border-radius: 15px;
  padding: 20px;
  height: 180px;
  position: relative;
  color: white;
  overflow: hidden;
}

.card-visual .chip {
  width: 40px;
  height: 30px;
  background-color: #f0c040;
  border-radius: 4px;
  position: absolute;
  top: 30px;
  left: 20px;
}

.card-visual .card-logo {
  position: absolute;
  top: 25px;
  right: 20px;
  font-size: 1.8em;
  opacity: 0.8;
}

.card-visual .card-number {
  position: absolute;
  bottom: 60px;
  left: 20px;
  font-size: 1.4em;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 2px;
  color: #f8f9fa;
}

.card-visual .card-holder-label,
.card-visual .expiry-label {
  position: absolute;
  bottom: 35px;
  font-size: 0.6em;
  text-transform: uppercase;
  opacity: 0.7;
  color: #e9ecef;
}

.card-visual .card-holder-label {
  left: 20px;
}

.card-visual .expiry-label {
  right: 60px;
}

.card-visual .card-holder-name,
.card-visual .expiry-date {
  position: absolute;
  bottom: 15px;
  font-size: 0.9em;
  font-weight: 500;
  color: #f8f9fa;
}

.card-visual .card-holder-name {
  left: 20px;
}

.card-visual .expiry-date {
  right: 20px;
}

.card-balance-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}

.card-balance span {
  display: block;
  font-size: 0.9em;
  color: #606770;
}

.card-balance strong {
  font-size: 1.3em;
  font-weight: 600;
  color: #1c1e21;
}

.card-toggle-details {
  background: none;
  border: none;
  font-size: 1.3em;
  color: #606770;
  cursor: pointer;
  padding: 5px;
}

.card-actions {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #e4e6eb;
  margin-top: 10px;
}

.card-actions .card-action-btn {
  background-color: #e4e6eb;
  border: none;
  color: #343a40;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-actions .card-action-btn:hover {
  background-color: #d8dadf;
}

/* Transaction History Section */
.transaction-history {
  padding-top: 10px;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.history-header h3 {
  margin: 0;
  font-size: 1.2em;
  font-weight: 600;
  color: #1c1e21;
}

.view-all-link {
  font-size: 0.9em;
  color: #0a58ca;
  text-decoration: none;
  font-weight: 500;
}

.view-all-link:hover {
  text-decoration: underline;
}

.transaction-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.transaction-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.transaction-details {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.avatar-container {
  position: relative;
  width: 40px;
  height: 40px;
}

.small-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #ced4da;
  display: block;
}

.transaction-type-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.6em;
  color: white;
  border: 1px solid white;
}

.transaction-type-icon.credit {
  background-color: #28a745;
}

.transaction-type-icon.debit {
  background-color: #dc3545;
}

.name-date {
  display: flex;
  flex-direction: column;
}

.name {
  font-weight: 500;
  color: #1c1e21;
}

.date {
  font-size: 0.8em;
  color: #606770;
}

.transaction-amount {
  font-weight: 600;
  font-size: 1em;
}

.transaction-amount.debit {
  color: #dc3545;
}

.transaction-amount.credit {
  color: #28a745;
}

/* --- Slide-Up Panel Common Styles --- */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.overlay.visible {
  opacity: 1;
  visibility: visible;
}

.slide-up-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background-color: #ffffff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.35s ease-in-out;
  z-index: 1000;
  visibility: hidden;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.slide-up-panel.visible {
  transform: translateY(0);
  visibility: visible;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  border-bottom: 1px solid #e4e6eb;
  flex-shrink: 0;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.panel-header h4 {
  margin: 0;
  font-size: 1.2em;
  font-weight: 600;
}

.panel-content {
  padding: 25px;
  overflow-y: auto;
  flex-grow: 1;
}

.close-panel-btn {
  background: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1em;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.close-panel-btn:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

/* --- Card Details Panel Specific Styles --- */
#card-details-panel .panel-header {
  background-color: #3a6ea5;
  color: white;
}

#card-details-panel .close-panel-btn {
  background: rgba(255, 255, 255, 0.2);
}

#card-details-panel .close-panel-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.panel-content .detail-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f2f5;
}

.panel-content .detail-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.panel-content .detail-label {
  display: block;
  font-size: 0.8em;
  color: #606770;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-weight: 500;
}

.panel-content .detail-value {
  font-size: 1em;
  color: #1c1e21;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 1px;
  word-wrap: break-word;
}

.panel-content .detail-value.normal-font {
  font-family: inherit;
  letter-spacing: normal;
}

.panel-content .detail-value.sensitive {
  color: #dc3545;
  font-weight: 600;
}

.panel-content .security-warning {
  font-size: 0.8em;
  color: #dc3545;
  margin-top: 5px;
  font-style: italic;
}

/* --- Add Funds Panel Specific Styles --- */
#add-funds-panel .panel-header {
  background-color: #3a9a8a;
  color: white;
}

#add-funds-panel .close-panel-btn {
  background: rgba(255, 255, 255, 0.2);
}

#add-funds-panel .close-panel-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.panel-available-balance {
  background-color: #e9ecef;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 0.9em;
}

.panel-available-balance .label {
  color: #606770;
  display: block;
  margin-bottom: 4px;
  font-size: 0.9em;
}

.panel-available-balance .value {
  color: #1c1e21;
  font-weight: 600;
  font-size: 1.1em;
}

.add-funds-form label {
  display: block;
  font-size: 0.9em;
  color: #606770;
  margin-bottom: 8px;
  font-weight: 500;
}

.add-funds-form input[type="number"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1.1em;
  margin-bottom: 20px;
  appearance: textfield;
}

.add-funds-form input[type=number]::-webkit-outer-spin-button,
.add-funds-form input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.add-funds-form .submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #3a9a8a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.add-funds-form .submit-btn:hover {
  background-color: #318375;
}

/* --- Card Settings Panel Specific Styles --- */
#card-settings-panel .panel-header {
  background-color: #6c757d;
  color: white;
}

#card-settings-panel .close-panel-btn {
  background: rgba(255, 255, 255, 0.2);
}

#card-settings-panel .close-panel-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f0f2f5;
}

.setting-item:last-child {
  border-bottom: none;
}

.setting-label {
  font-size: 1em;
  color: #1c1e21;
  display: flex;
  align-items: center;
  gap: 10px;
}

.setting-label i {
  color: #606770;
}

.setting-action .setting-btn {
  background-color: #e4e6eb;
  border: none;
  color: #343a40;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.setting-action .setting-btn:hover {
  background-color: #d8dadf;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #3a9a8a;
}

input:checked+.slider:before {
  transform: translateX(24px);
}

/* --- NEW: Bottom Navigation Bar --- */
.bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  /* Fixed position */
  bottom: 0;
  left: 0;
  /* Align to viewport left */
  right: 0;
  /* Align to viewport right */
  width: 100%;
  /* Full viewport width */
  max-width: 400px;
  /* Match body max-width */
  margin: 0 auto;
  /* Center within the viewport */
  height: 65px;
  /* Nav bar height */
  background-color: #ffffff;
  border-top: 1px solid #e4e6eb;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
  z-index: 950;
  /* Above content, below panels */
  flex-shrink: 0;
  /* Prevent shrinking */
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  text-decoration: none;
  color: #6c757d;
  /* Default icon/text color */
  font-size: 0.7em;
  /* Text size */
  padding: 5px 0;
  transition: color 0.2s ease;
}

.nav-item i {
  font-size: 1.4em;
  /* Icon size */
  margin-bottom: 4px;
}

.nav-item.active {
  color: #3a9a8a;
  /* Active color (using green theme color) */
}

.nav-item:hover {
  color: #495057;
  /* Hover color */
}

/* --- NEW: Drawer Menu --- */
.drawer-overlay {
  /* Specific overlay for drawer */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  /* Above content, below drawer */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.drawer-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.drawer-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 75%;
  /* Drawer width */
  max-width: 300px;
  /* Max width */
  height: 100%;
  background-color: #ffffff;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
  transform: translateX(-100%);
  /* Start hidden off-screen */
  transition: transform 0.35s ease-in-out;
  z-index: 1100;
  /* Above everything */
  visibility: hidden;
  display: flex;
  flex-direction: column;
}

.drawer-menu.visible {
  transform: translateX(0);
  visibility: visible;
}

.drawer-header {
  padding: 20px;
  border-bottom: 1px solid #e4e6eb;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.drawer-header .avatar {
  /* Reuse avatar style */
  width: 50px;
  height: 50px;
}

.drawer-header .user-info h4 {
  margin: 0 0 4px 0;
  font-size: 1.1em;
}

.drawer-header .user-info span {
  font-size: 0.9em;
  color: #606770;
}

.drawer-nav {
  list-style: none;
  padding: 15px 0;
  margin: 0;
  flex-grow: 1;
  overflow-y: auto;
}

.drawer-nav li a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  text-decoration: none;
  color: #343a40;
  font-size: 1em;
  transition: background-color 0.2s ease;
}

.drawer-nav li a i {
  width: 20px;
  /* Align icons */
  text-align: center;
  color: #6c757d;
}

.drawer-nav li a:hover {
  background-color: #f8f9fa;
}

.drawer-footer {
  padding: 20px;
  border-top: 1px solid #e4e6eb;
  flex-shrink: 0;
}

.logout-btn {
  background: none;
  border: none;
  color: #dc3545;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}

/* --- End Navigation Styles --- */



/* ADD CARD PAGE */


/* --- App Header --- */
.app-header {
  display: flex;
  justify-content: flex-start;
  /* Align items left */
  align-items: center;
  padding: 15px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #e4e6eb;
  position: sticky;
  top: 0;
  z-index: 900;
  flex-shrink: 0;
  gap: 15px;
  /* Space between back button and title */
}

.back-btn {
  /* Back button */
  background: none;
  border: none;
  font-size: 1.4em;
  color: #4b4f56;
  cursor: pointer;
  padding: 5px;
}

.header-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #1c1e21;
  text-align: center;
  /* Center title */
  flex-grow: 1;
  /* Allow title to take space */
  margin-right: 30px;
  /* Offset for back button space */
}


/* --- Main Content Area --- */
.main-content {
  flex-grow: 1;
  padding: 25px 20px;
  /* More padding for content */
}

/* Account Balance Display */
.account-balance-display {
  background-color: #e9ecef;
  /* Light background */
  padding: 12px 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.account-balance-display .label {
  color: #606770;
  display: block;
  margin-bottom: 4px;
  font-size: 0.85em;
  text-transform: uppercase;
  font-weight: 500;
}

.account-balance-display .value {
  color: #1c1e21;
  font-weight: 600;
  font-size: 1.3em;
}


/* Card Style for Form */
.card-style {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 25px;
  /* More padding inside form card */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Form Styles */
.application-form .form-group {
  margin-bottom: 20px;
  /* Space between form groups */
}

.application-form label {
  display: block;
  font-size: 0.9em;
  color: #606770;
  margin-bottom: 8px;
  font-weight: 500;
}

.application-form input[type="text"],
.application-form input[type="number"],
.application-form select,
.application-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  /* Ensure consistent font */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: #3a6ea5;
  /* Highlight focus with blue theme color */
  box-shadow: 0 0 0 2px rgba(58, 110, 165, 0.2);
  /* Subtle focus ring */
  outline: none;
}

/* Specific input styling */
.application-form input[type="number"] {
  appearance: textfield;
  /* Remove spinners */
}

.application-form input[type=number]::-webkit-outer-spin-button,
.application-form input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Amount Input Group (for currency symbol) */
.amount-input-group {
  position: relative;
}

.amount-input-group .currency-symbol {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1em;
  color: #606770;
  pointer-events: none;
}

.amount-input-group input[type="number"] {
  padding-left: 30px;
}

/* Select dropdown arrow */
.application-form select {
  appearance: none;
  /* Remove default arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  /* Custom arrow */
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px 12px;
  padding-right: 40px;
  /* Space for custom arrow */
}

/* Read-only info display */
.info-display {
  background-color: #f8f9fa;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9em;
  color: #495057;
  border: 1px solid #e9ecef;
  margin-bottom: 5px;
  /* Small space between info lines */
}

.info-display strong {
  color: #1c1e21;
}

/* Terms and Conditions Checkbox */
.terms-group {
  display: flex;
  align-items: flex-start;
  /* Align checkbox top */
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.terms-group input[type="checkbox"] {
  margin-top: 3px;
  /* Align checkbox slightly */
  width: 16px;
  height: 16px;
  accent-color: #3a6ea5;
  /* Use theme color for checkbox */
}

.terms-group label {
  font-size: 0.85em;
  color: #606770;
  margin-bottom: 0;
  line-height: 1.4;
}

.terms-group label a {
  color: #3a6ea5;
  text-decoration: none;
}

.terms-group label a:hover {
  text-decoration: underline;
}


/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #3a6ea5;
  /* Theme blue color */
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 10px;
  /* Space above button */
}

.submit-btn:hover {
  background-color: #315f8f;
  /* Darker blue */
}







/* CARD PAGE STYLE */

/* --- Main Content Area --- */
.main-content {
  flex-grow: 1;
  padding: 25px 20px;
  /* Padding for content */
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Space between sections */
}

/* Card Style for Sections */
.card-style {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Visual Card */
.card-visual {
  background: linear-gradient(110deg, #3a6ea5, #204051);
  /* Dark Blue */
  border-radius: 15px;
  padding: 20px;
  height: 190px;
  /* Slightly taller */
  position: relative;
  color: white;
  overflow: hidden;
  margin-bottom: 10px;
  /* Space below visual card */
}

.card-visual .chip {
  width: 40px;
  height: 30px;
  background-color: #f0c040;
  border-radius: 4px;
  position: absolute;
  top: 30px;
  left: 20px;
}

.card-visual .card-logo {
  position: absolute;
  top: 25px;
  right: 20px;
  font-size: 1.8em;
  opacity: 0.8;
}

.card-visual .card-number {
  position: absolute;
  bottom: 70px;
  left: 20px;
  font-size: 1.5em;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 2px;
  color: #f8f9fa;
}

.card-visual .card-holder-label,
.card-visual .expiry-label {
  position: absolute;
  bottom: 40px;
  font-size: 0.6em;
  text-transform: uppercase;
  opacity: 0.7;
  color: #e9ecef;
}

.card-visual .card-holder-label {
  left: 20px;
}

.card-visual .expiry-label {
  right: 60px;
}

.card-visual .card-holder-name,
.card-visual .expiry-date {
  position: absolute;
  bottom: 18px;
  font-size: 0.9em;
  font-weight: 500;
  color: #f8f9fa;
}

.card-visual .card-holder-name {
  left: 20px;
}

.card-visual .expiry-date {
  right: 20px;
}

/* Card Details Section */
.card-details-section .detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f2f5;
}

.card-details-section .detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.card-details-section .detail-item:first-child {
  padding-top: 0;
}

.card-details-section .detail-label {
  font-size: 0.9em;
  color: #606770;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-details-section .detail-label i {
  width: 16px;
  text-align: center;
}

.card-details-section .detail-value {
  font-size: 0.95em;
  color: #1c1e21;
  font-weight: 500;
  text-align: right;
  position: relative;
  /* For copy button */
  padding-right: 30px;
  /* Space for copy button */
}

.card-details-section .detail-value.monospace {
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 1px;
}

.card-details-section .detail-value.sensitive {
  color: #dc3545;
  /* Red for sensitive data */
  font-weight: 600;
}

.card-details-section .copy-detail-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  font-size: 0.9em;
  padding: 5px;
}

.card-details-section .copy-detail-btn:hover {
  color: #343a40;
}

.card-details-section .security-warning {
  font-size: 0.8em;
  color: #dc3545;
  margin-top: 5px;
  font-style: italic;
  text-align: right;
  padding-right: 0;
}


/* Card Actions Section */
.card-actions-section {
  display: grid;
  /* Use grid for button layout */
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  /* Responsive columns */
  gap: 15px;
  padding: 10px 0 0 0;
  /* Padding top */
}

.card-actions-section .action-btn {
  display: flex;
  flex-direction: column;
  /* Stack icon and text */
  align-items: center;
  justify-content: center;
  background-color: #e4e6eb;
  border: none;
  border-radius: 10px;
  padding: 15px 10px;
  font-size: 0.85em;
  font-weight: 500;
  color: #343a40;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease;
}

.card-actions-section .action-btn i {
  font-size: 1.6em;
  /* Icon size */
  margin-bottom: 8px;
  color: #4b4f56;
}

.card-actions-section .action-btn:hover {
  background-color: #d8dadf;
}

.card-actions-section .action-btn.freeze i {
  color: #3a6ea5;
}

/* Blue for freeze */
.card-actions-section .action-btn.add-funds i {
  color: #3a9a8a;
}

/* Green for add funds */
.card-actions-section .action-btn.report i {
  color: #dc3545;
}

/* Red for report */


/* Settings Links Section */
.settings-links-section .setting-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  /* Vertical padding for each item */
  border-bottom: 1px solid #f0f2f5;
  text-decoration: none;
  color: #1c1e21;
  cursor: pointer;
  transition: background-color 0.1s ease;
}

.settings-links-section .setting-link:last-child {
  border-bottom: none;
}

.settings-links-section .setting-link .setting-label {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1em;
  font-weight: 500;
}

.settings-links-section .setting-link .setting-label i {
  width: 20px;
  text-align: center;
  color: #606770;
  font-size: 1.1em;
}

.settings-links-section .setting-link .arrow-icon i {
  color: #adb5bd;
  font-size: 0.9em;
}

.settings-links-section .setting-link:hover .setting-label {
  color: #3a6ea5;
}

.settings-links-section .setting-link:hover .setting-label i {
  color: #3a6ea5;
}




/* EDIT INFO PAGE */

/* --- Main Content Area --- */
.main-content {
  flex-grow: 1;
  padding: 25px 20px;
  /* More padding for content */
}

/* Card Style for Form */
.card-style {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 25px;
  /* More padding inside form card */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Form Styles */
.edit-profile-form .form-group {
  margin-bottom: 20px;
  /* Space between form groups */
}

.edit-profile-form label {
  display: block;
  font-size: 0.9em;
  color: #606770;
  margin-bottom: 8px;
  font-weight: 500;
}

.edit-profile-form input[type="text"],
.edit-profile-form input[type="email"],
.edit-profile-form input[type="tel"],
.edit-profile-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  /* Ensure consistent font */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.edit-profile-form input:focus,
.edit-profile-form textarea:focus {
  border-color: #3a6ea5;
  /* Highlight focus with theme blue */
  box-shadow: 0 0 0 2px rgba(58, 110, 165, 0.2);
  /* Subtle focus ring */
  outline: none;
}

/* Read-only field style */
.edit-profile-form input[readonly] {
  background-color: #e9ecef;
  /* Grey background for readonly */
  cursor: not-allowed;
  opacity: 0.8;
}

.edit-profile-form textarea {
  min-height: 80px;
  /* Default height for address */
  resize: vertical;
  /* Allow vertical resize */
}

/* Action Buttons */
.action-buttons {
  margin-top: 30px;
  /* Space above buttons */
  display: flex;
  gap: 15px;
  /* Space between buttons */
}

.action-buttons .btn {
  flex-grow: 1;
  /* Make buttons share space */
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.action-buttons .btn-save {
  background-color: #3a9a8a;
  /* Theme green color */
  color: white;
}

.action-buttons .btn-save:hover {
  background-color: #318375;
  /* Darker green */
}

.action-buttons .btn-cancel {
  background-color: #e4e6eb;
  /* Light grey */
  color: #4b4f56;
  /* Darker text */
}

.action-buttons .btn-cancel:hover {
  background-color: #d8dadf;
  /* Slightly darker grey */
}



/* LOGIN PAGE */



/* Login Container */
.login-container {
  background-color: #ffffff;
  padding: 35px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 380px;
  /* Max width for the login box */
  text-align: center;
}

/* Logo/Title Area */
.login-header {
  margin-bottom: 30px;
}

.login-header .logo {
  font-size: 2.5em;
  /* Example logo size */
  color: #3a6ea5;
  /* Theme blue */
  margin-bottom: 10px;
  /* Replace with your actual logo image if available */
  /* e.g., <img src="/path/to/logo.png" alt="Bank Wallet Logo" height="50"> */
}

.login-header h2 {
  font-size: 1.5em;
  font-weight: 600;
  color: #1c1e21;
  margin-bottom: 5px;
}

.login-header p {
  font-size: 0.95em;
  color: #606770;
}


/* Form Styles */
.login-form .form-group {
  margin-bottom: 20px;
  text-align: left;
  /* Align labels left */
  position: relative;
  /* Needed for password toggle */
}

.login-form label {
  display: block;
  font-size: 0.9em;
  color: #606770;
  margin-bottom: 6px;
  font-weight: 500;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Adjust padding if icon is inside */
.login-form input[type="password"] {
  padding-right: 45px;
  /* Make space for the eye icon */
}

.login-form input:focus {
  border-color: #3a6ea5;
  /* Highlight focus with theme blue */
  box-shadow: 0 0 0 2px rgba(58, 110, 165, 0.2);
  outline: none;
}

/* Password Toggle Button */
.password-toggle-btn {
  position: absolute;
  right: 10px;
  top: 70%;
  /* Adjust vertical position (relative to input height+label) */
  /* If no label: top: 50%; */
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 5px;
  font-size: 1.1em;
}

.password-toggle-btn:hover {
  color: #343a40;
}


/* Options (Forgot Password) */
.options {
  text-align: right;
  margin-bottom: 20px;
}

.options .forgot-password-link {
  font-size: 0.85em;
  color: #3a6ea5;
  text-decoration: none;
}

.options .forgot-password-link:hover {
  text-decoration: underline;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #3a9a8a;
  /* Theme green color */
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 5px;
  /* Space above button */
}

.submit-btn:hover {
  background-color: #318375;
  /* Darker green */
}

/* Signup Link */
.signup-link-container {
  margin-top: 25px;
  font-size: 0.9em;
  color: #606770;
}

.signup-link-container .signup-link {
  color: #3a9a8a;
  /* Theme green */
  font-weight: 500;
  text-decoration: none;
}

.signup-link-container .signup-link:hover {
  text-decoration: underline;
}


/* NOTIFICATION PAGE */
.notificationxccx {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
}

.notificationxccx p {
  font-size: 14px;
  font-weight: 500;
  margin: 10px 0;
}







/* PROFILE PAGE */




/* --- App Header --- */





/* --- Main Content Area --- */
.main-content {
  flex-grow: 1;
  padding: 25px 20px;
  /* More padding for content */
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Space between profile sections */
}

/* Card Style for Sections */
.card-style {
  background-color: #ffffff;
  border-radius: 15px;
  /* Slightly smaller radius for profile cards */
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  /* Softer shadow */
}

/* Profile Header Section */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* margin-bottom: 15px; Removed margin as it's now a card */
}

.profile-header .avatar-container {
  position: relative;
  margin-bottom: 15px;
}

.profile-header .avatar {
  width: 90px;
  /* Larger avatar */
  height: 90px;
  border-radius: 50%;
  background-color: #ced4da;
  object-fit: cover;
  border: 3px solid white;
  /* White border */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Removed .edit-avatar-btn styles */
.profile-header h2 {
  font-size: 1.4em;
  font-weight: 600;
  margin: 0 0 5px 0;
}

.profile-header .email {
  font-size: 0.95em;
  color: #606770;
}

/* Profile Info Section */
.profile-info .info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f2f5;
}

.profile-info .info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.profile-info .info-item:first-child {
  padding-top: 0;
}

.profile-info .info-label {
  font-size: 0.9em;
  color: #606770;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-info .info-label i {
  width: 16px;
  /* Align icons */
  text-align: center;
}

.profile-info .info-value {
  font-size: 0.95em;
  color: #1c1e21;
  font-weight: 500;
  text-align: right;
  /* Align value to the right */
}

/* Removed .edit-info-btn styles */

/* NEW: Balances Section */
.balances-section .balance-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f2f5;
}

.balances-section .balance-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.balances-section .balance-item:first-child {
  padding-top: 0;
}

.balances-section .balance-label {
  font-size: 0.9em;
  color: #606770;
  display: flex;
  align-items: center;
  gap: 8px;
}

.balances-section .balance-label i {
  width: 16px;
  /* Align icons */
  text-align: center;
  font-size: 1.1em;
  /* Slightly larger icons for balance */
}

.balances-section .balance-value {
  font-size: 1.1em;
  /* Larger font for balance values */
  color: #1c1e21;
  font-weight: 600;
  text-align: right;
}

.balances-section .balance-value.account {
  color: #3a9a8a;
  /* Green for account balance */
}

.balances-section .balance-value.card {
  color: #3a6ea5;
  /* Blue for card balance */
}

/* End NEW */

/* Settings Links Section - REMOVED */
/* .settings-links { ... } */



/* REGISTER PAGE */




/* Register Container */
.register-container {
  background-color: #ffffff;
  padding: 35px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  /* Max width for the register box */
  text-align: center;
}

/* Logo/Title Area */
.register-header {
  margin-bottom: 30px;
}

.register-header .logo {
  font-size: 2.5em;
  /* Example logo size */
  color: #3a6ea5;
  /* Theme blue */
  margin-bottom: 10px;
  /* Replace with your actual logo image if available */
  /* e.g., <img src="/path/to/logo.png" alt="Bank Wallet Logo" height="50"> */
}

.register-header h2 {
  font-size: 1.5em;
  font-weight: 600;
  color: #1c1e21;
  margin-bottom: 5px;
}

.register-header p {
  font-size: 0.95em;
  color: #606770;
}


/* Form Styles */
.register-form .form-group {
  margin-bottom: 15px;
  /* Slightly less margin */
  text-align: left;
  /* Align labels left */
  position: relative;
  /* Needed for password toggle */
}

.register-form label {
  display: block;
  font-size: 0.9em;
  color: #606770;
  margin-bottom: 6px;
  font-weight: 500;
}

.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Adjust padding if icon is inside */
.register-form .password-wrapper input[type="password"] {
  padding-right: 45px;
  /* Make space for the eye icon */
}

.register-form input:focus {
  border-color: #3a6ea5;
  /* Highlight focus with theme blue */
  box-shadow: 0 0 0 2px rgba(58, 110, 165, 0.2);
  outline: none;
}

/* Password Wrapper for icon positioning */
.password-wrapper {
  position: relative;
}

/* Password Toggle Button */
.password-toggle-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  /* Center vertically within the input */
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 5px;
  font-size: 1.1em;
  z-index: 2;
  /* Ensure it's above the input */
}

.password-toggle-btn:hover {
  color: #343a40;
}

/* Terms and Conditions Checkbox */
.terms-group {
  display: flex;
  align-items: flex-start;
  /* Align checkbox top */
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 20px;
  text-align: left;
}

.terms-group input[type="checkbox"] {
  margin-top: 3px;
  /* Align checkbox slightly */
  width: 16px;
  height: 16px;
  accent-color: #3a6ea5;
  /* Use theme color for checkbox */
  flex-shrink: 0;
  /* Prevent checkbox shrinking */
}

.terms-group label {
  font-size: 0.85em;
  color: #606770;
  margin-bottom: 0;
  line-height: 1.4;
  font-weight: 400;
  /* Normal weight for terms text */
}

.terms-group label a {
  color: #3a6ea5;
  text-decoration: none;
  font-weight: 500;
}

.terms-group label a:hover {
  text-decoration: underline;
}


/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #3a9a8a;
  /* Theme green color */
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 5px;
  /* Space above button */
}

.submit-btn:hover {
  background-color: #318375;
  /* Darker green */
}

/* Login Link */
.login-link-container {
  margin-top: 25px;
  font-size: 0.9em;
  color: #606770;
}

.login-link-container .login-link {
  color: #3a9a8a;
  /* Theme green */
  font-weight: 500;
  text-decoration: none;
}

.login-link-container .login-link:hover {
  text-decoration: underline;
}




/* REVIEW TOP UP PAGE */

/* --- Main Content Area --- */
.main-content {
  flex-grow: 1;
  padding: 25px 20px;
  /* More padding for content */
}

/* Card Style for Review Details */
.card-style {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Review Details Styles */
.deposit-review-details h3 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #606770;
  font-weight: 500;
}

/* Updated: Deposit Summary (USD only) */
.deposit-summary {
  text-align: center;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.deposit-summary .label {
  font-size: 0.9em;
  color: #606770;
  margin-bottom: 5px;
}

.deposit-summary .value {
  /* Style for USD amount */
  font-size: 1.8em;
  /* Larger font for USD */
  font-weight: 700;
  color: #3a6ea5;
  /* Use blue theme color */
}

/* End Updated */


/* Deposit Address Section */
.deposit-address-section {
  margin-bottom: 25px;
  text-align: center;
}

.deposit-address-section label {
  display: block;
  font-size: 0.9em;
  color: #606770;
  margin-bottom: 10px;
  font-weight: 500;
}

.address-box {
  background-color: #f8f9fa;
  border: 1px dashed #ced4da;
  /* Dashed border */
  border-radius: 8px;
  padding: 15px;
  word-break: break-all;
  /* Break long addresses */
  font-family: 'Courier New', Courier, monospace;
  /* Monospace font */
  font-size: 0.95em;
  color: #343a40;
  margin-bottom: 15px;
  position: relative;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #e4e6eb;
  border: none;
  border-radius: 5px;
  padding: 5px 8px;
  cursor: pointer;
  font-size: 0.8em;
  color: #4b4f56;
}

.copy-btn:hover {
  background-color: #d8dadf;
}

.copy-btn i {
  margin-right: 4px;
}


/* QR Code - REMOVED */
/* .qr-code-container { ... } */

/* Instructions & Warnings */
.instructions {
  background-color: #fff3cd;
  /* Light yellow warning background */
  border: 1px solid #ffeeba;
  color: #856404;
  /* Dark yellow text */
  padding: 15px;
  border-radius: 8px;
  font-size: 0.85em;
  line-height: 1.5;
  margin-bottom: 25px;
}

.instructions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.instructions li {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.instructions li:last-child {
  margin-bottom: 0;
}

.instructions i {
  margin-top: 2px;
  flex-shrink: 0;
}


/* Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.action-buttons .btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.action-buttons .btn-confirm {
  background-color: #28a745;
  color: white;
}

.action-buttons .btn-confirm:hover {
  background-color: #218838;
}

.action-buttons .btn-cancel {
  background-color: #e4e6eb;
  color: #4b4f56;
}

.action-buttons .btn-cancel:hover {
  background-color: #d8dadf;
}


/* REVEWPAYMENT PAGE */




/* --- Main Content Area --- */
.main-content {
  flex-grow: 1;
  padding: 25px 20px;
  /* More padding for content */
}

/* Card Style for Review Details */
.card-style {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Review Details Styles */
.review-details h3 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.1em;
  color: #606770;
  font-weight: 500;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* Align start for potential multi-line values */
  padding: 12px 0;
  border-bottom: 1px solid #f0f2f5;
  /* Light separator */
}

.detail-row:last-of-type {
  /* Remove border from last item */
  border-bottom: none;
  padding-bottom: 0;
}

.detail-row:first-of-type {
  /* Remove top padding from first item */
  padding-top: 0;
}

.detail-label {
  font-size: 0.95em;
  color: #606770;
  flex-basis: 40%;
  /* Allocate space for label */
  margin-right: 10px;
}

.detail-value {
  font-size: 1em;
  color: #1c1e21;
  font-weight: 500;
  text-align: right;
  flex-basis: 60%;
  /* Allocate space for value */
  word-wrap: break-word;
  /* Wrap long values */
}

.detail-value.amount,
.detail-value.total {
  font-weight: 600;
  font-size: 1.1em;
}

.detail-value.total {
  color: #3a9a8a;
  /* Highlight total with theme color */
}

/* Card Display within Review */
.detail-value .card-display-inline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Align card details to the right */
  gap: 8px;
  font-size: 0.9em;
  /* Slightly smaller font for card */
}

.detail-value .card-display-inline i {
  font-size: 1.5em;
  color: #3a6ea5;
}

.detail-value .card-display-inline span {
  font-family: 'Courier New', Courier, monospace;
}


/* Action Buttons */
.action-buttons {
  margin-top: 30px;
  /* Space above buttons */
  display: flex;
  flex-direction: column;
  /* Stack buttons vertically */
  gap: 15px;
  /* Space between buttons */
}

.action-buttons .btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.action-buttons .btn-confirm {
  background-color: #3a9a8a;
  /* Theme green color */
  color: white;
}

.action-buttons .btn-confirm:hover {
  background-color: #318375;
  /* Darker green */
}

.action-buttons .btn-cancel {
  background-color: #e4e6eb;
  /* Light grey */
  color: #4b4f56;
  /* Darker text */
}

.action-buttons .btn-cancel:hover {
  background-color: #d8dadf;
  /* Slightly darker grey */
}


/* VERIFICATION PAGE */

/* --- Main Content Area --- */
.main-content {
  flex-grow: 1;
  padding: 25px 20px;
}

/* Card Style for Form */
.card-style {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Section Title */
.section-heading {
  font-size: 1.1em;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}


/* Form Styles */
.verification-form .form-group {
  margin-bottom: 20px;
}

.verification-form label {
  display: block;
  font-size: 0.9em;
  color: #475569;
  /* Slightly lighter label */
  margin-bottom: 8px;
  font-weight: 500;
}

.verification-form input[type="text"],
.verification-form input[type="date"],
.verification-form input[type="file"],
.verification-form select,
.verification-form textarea {
  width: 100%;
  padding: 10px 12px;
  /* Slightly smaller padding */
  border: 1px solid #cbd5e1;
  /* Slate border */
  border-radius: 6px;
  /* Slightly less rounded */
  font-size: 1em;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #fff;
  /* Ensure white background */
}

.verification-form input:focus,
.verification-form select:focus,
.verification-form textarea:focus {
  border-color: #0ea5e9;
  /* Sky blue focus */
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
  outline: none;
}

/* Read-only field style */
.verification-form input[readonly] {
  background-color: #f1f5f9;
  /* Lighter grey */
  cursor: not-allowed;
  opacity: 0.8;
}

.verification-form textarea {
  min-height: 60px;
  /* Shorter default height */
  resize: vertical;
}

/* File Input Styling */
.verification-form input[type="file"] {
  padding: 8px 10px;
  /* Adjust padding for file input */
  font-size: 0.9em;
  color: #475569;
  cursor: pointer;
}

/* Style the button part of file input (browser-specific) */
.verification-form input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 6px 12px;
  border: none;
  background-color: #e2e8f0;
  color: #334155;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.verification-form input[type="file"]::file-selector-button:hover {
  background-color: #cbd5e1;
}

/* Display selected file name (requires JS) */
.file-name {
  display: block;
  font-size: 0.8em;
  color: #64748b;
  margin-top: 5px;
  font-style: italic;
}


/* Select dropdown arrow */
.verification-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 12px;
  padding-right: 40px;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #10b981;
  /* Theme green color */
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 15px;
  /* Space above button */
}

.submit-btn:hover {
  background-color: #059669;
  /* Darker green */
}

/* Helper Text */
.helper-text {
  font-size: 0.85em;
  color: #64748b;
  margin-top: -10px;
  /* Reduce space after label */
  margin-bottom: 15px;
}

/* SEND PAGE */


/* --- Main Content Area --- */

#cardout {
  display: none;
}

.main-content {
  flex-grow: 1;
  padding: 25px 20px;
  /* More padding for content */
}

/* NEW: Account Balance Display */
.account-balance-display {
  background-color: #e9ecef;
  /* Light background */
  padding: 12px 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.account-balance-display .label {
  color: #606770;
  display: block;
  margin-bottom: 4px;
  font-size: 0.85em;
  text-transform: uppercase;
  font-weight: 500;
}

.account-balance-display .value {
  color: #1c1e21;
  font-weight: 600;
  font-size: 1.3em;
}

/* End NEW */

/* Card Style for Form */
.card-style {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 25px;
  /* More padding inside form card */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Form Styles */
.send-payment-form .form-group {
  margin-bottom: 20px;
  /* Space between form groups */
}

.send-payment-form label {
  display: block;
  font-size: 0.9em;
  color: #606770;
  margin-bottom: 8px;
  font-weight: 500;
}

.send-payment-form input[type="text"],
.send-payment-form input[type="number"],
.send-payment-form select,
/* Keep style for consistency if select is used elsewhere */
.send-payment-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  /* Ensure consistent font */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.send-payment-form input:focus,
.send-payment-form select:focus,
.send-payment-form textarea:focus {
  border-color: #3a9a8a;
  /* Highlight focus with theme color */
  box-shadow: 0 0 0 2px rgba(58, 154, 138, 0.2);
  /* Subtle focus ring */
  outline: none;
}

/* Specific input styling */
.send-payment-form input[type="number"] {
  appearance: textfield;
  /* Remove spinners */
}

.send-payment-form input[type=number]::-webkit-outer-spin-button,
.send-payment-form input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.send-payment-form textarea {
  min-height: 80px;
  /* Default height for note */
  resize: vertical;
  /* Allow vertical resize */
}

/* Amount Input Group (for currency symbol) */
.amount-input-group {
  position: relative;
}

.amount-input-group .currency-symbol {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1em;
  color: #606770;
  pointer-events: none;
}

.amount-input-group input[type="number"] {
  padding-left: 30px;
}

/* NEW: Single Card Display Styles */
.single-card-display {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #f8f9fa;
  /* Light background for the card display */
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.single-card-display .card-icon {
  font-size: 1.8em;
  /* Icon size */
  color: #3a6ea5;
  /* Match card theme color */
}

.single-card-display .card-info {
  flex-grow: 1;
}

.single-card-display .card-number {
  font-weight: 500;
  color: #343a40;
  font-size: 0.95em;
  font-family: 'Courier New', Courier, monospace;
  /* Monospace for card number */
}

.single-card-display .card-balance {
  font-size: 0.85em;
  color: #606770;
}

.single-card-display .card-balance strong {
  color: #1c1e21;
  /* Darker color for balance value */
  font-weight: 600;
}

/* End NEW */

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #3a9a8a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #318375;
}












/* SETTINGS PAGE */

/* --- Main Content Area --- */
.main-content {
  flex-grow: 1;
  padding: 25px 20px;
  /* More padding for content */
}

/* Card Style for Settings */
.card-style {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 5px 20px;
  /* Less vertical padding initially, items will add padding */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
  /* Space between setting cards */
}

.card-style:last-child {
  margin-bottom: 0;
}

/* Settings Item Styles */
.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  /* Vertical padding for each item */
  border-bottom: 1px solid #f0f2f5;
  text-decoration: none;
  /* Remove underline if it's a link */
  color: #1c1e21;
  cursor: pointer;
  /* Indicate clickable */
  transition: background-color 0.1s ease;
}

.setting-item:last-child {
  border-bottom: none;
}

/* Optional hover effect */
/* .setting-item:hover { background-color: #f8f9fa; } */

.setting-item .setting-label {
  display: flex;
  align-items: center;
  gap: 15px;
  /* More gap */
  font-size: 1em;
  font-weight: 500;
}

.setting-item .setting-label i {
  width: 20px;
  text-align: center;
  color: #606770;
  /* Icon color */
  font-size: 1.1em;
}

.setting-item .setting-action {
  display: flex;
  align-items: center;
  gap: 10px;
}

.setting-item .setting-action .info-text {
  /* For displaying current setting info */
  font-size: 0.9em;
  color: #606770;
}

.setting-item .setting-action .arrow-icon i {
  color: #adb5bd;
  /* Light grey arrow */
  font-size: 0.9em;
}

/* Toggle Switch Style (reused from previous example) */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #3a9a8a;
}

/* Green when checked */
input:checked+.slider:before {
  transform: translateX(24px);
}



/* TOP UP PAGE */


/* --- Main Content Area --- */
.main-content {
  flex-grow: 1;
  padding: 25px 20px;
  /* More padding for content */
}

/* Card Style for Form */
.card-style {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 25px;
  /* More padding inside form card */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Form Styles */
.topup-form .form-group {
  margin-bottom: 20px;
  /* Space between form groups */
}

.topup-form label {
  display: block;
  font-size: 0.9em;
  color: #606770;
  margin-bottom: 8px;
  font-weight: 500;
}

.topup-form input[type="text"],
.topup-form input[type="number"],
.topup-form select,
.topup-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  /* Ensure consistent font */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.topup-form input:focus,
.topup-form select:focus,
.topup-form textarea:focus {
  border-color: #3a9a8a;
  /* Highlight focus with theme color */
  box-shadow: 0 0 0 2px rgba(58, 154, 138, 0.2);
  /* Subtle focus ring */
  outline: none;
}

/* Specific input styling */
.topup-form input[type="number"] {
  appearance: textfield;
  /* Remove spinners */
}

.topup-form input[type=number]::-webkit-outer-spin-button,
.topup-form input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Select dropdown arrow */
.topup-form select {
  appearance: none;
  /* Remove default arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  /* Custom arrow */
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px 12px;
  padding-right: 40px;
  /* Space for custom arrow */
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #3a6ea5;
  /* Theme blue color */
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 10px;
  /* Space above button */
}

.submit-btn:hover {
  background-color: #315f8f;
  /* Darker blue */
}

/* Informational Text */
.info-text {
  font-size: 0.85em;
  color: #606770;
  margin-top: 15px;
  text-align: center;
  line-height: 1.4;
}


.transaction-list-history {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 20px;
  /* Clip corners */
}

.transaction-item-history {
  display: flex;
  align-items: center;
  /* Center items vertically */
  gap: 15px;
  padding: 15px;
  border-bottom: 1px solid #f1f5f9;
  /* Lighter separator */
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: #a6a7a7 1px solid;
}

.transaction-item-history:last-child {
  border-bottom: none;
}

.transaction-item-history:hover {
  background-color: #f8fafc;
}

.transaction-item-history .icon-container {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1em;
}

/* Use background/color based on type */
.transaction-item-history.type-debit .icon-container {
  background-color: #fee2e2;
  color: #dc2626;
}

/* Light red */
.transaction-item-history.type-credit .icon-container {
  background-color: #d1fae5;
  color: #059669;
}

/* Light green */
.transaction-item-history.type-transfer .icon-container {
  background-color: #e0e7ff;
  color: #4f46e5;
}

/* Light indigo */
.transaction-item-history.type-topup .icon-container {
  background-color: #fef3c7;
  color: #d97706;
}

/* Light amber */


.transaction-item-history .details {
  flex-grow: 1;
}

.transaction-item-history .description {
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 3px;
  font-size: 0.95em;
}

.transaction-item-history .date {
  font-size: 0.8em;
  color: #64748b;
}

.transaction-item-history .amount {
  font-weight: 600;
  font-size: 1em;
  white-space: nowrap;
  /* Prevent amount wrapping */
  margin-left: auto;
  /* Push amount to the right */
  padding-left: 10px;
  /* Space before amount */
}

.transaction-item-history .amount.debit {
  color: #dc2626;
}

/* Red */
.transaction-item-history .amount.credit {
  color: #16a34a;
}

/* Green */

/* Pagination Styles (Basic) */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 10px;
}

.pagination button {
  background-color: #e4e6eb;
  border: none;
  color: #4b5563;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9em;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pagination button:hover:not(:disabled) {
  background-color: #d8dadf;
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination .page-info {
  font-size: 0.9em;
  color: #64748b;
}


/*POP UP STYLE*/
.popup-container {

  width: 100%;
  height: 100vh;
  background: #0b0b0be8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 2000;

}

.popup {
  width: 500px;
  background: #fff;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  text-align: center;
  padding: 0 30px 30px;
  color: #333;
  visibility: visible;
  transition: transform 0.4s, top 0.4s;
}

.close-popup,
.popup-container-colose {
  visibility: hidden;
  top: 0;
  transform: translate(-50%, -50%) scale(0.1);
}

.popup-container-colose {
  display: none;
}

.popup img {
  width: 100px;
  margin-top: -30px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.popup h1 {
  font-size: 40px;
  font-weight: 500;
  margin: 30px 0 10px;
  color: #0c0b0b;
}

.popup p {
  color: #000;
  font-size: 15px;
  font-weight: 600;
}

.popup button {
  width: 100%;
  margin-top: 50px;
  padding: 10px 0;
  background: #358916;
  color: #fff;
  border: 0;
  outline: none;
  font-size: 18px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.popup-container .popup .success-alert i {
  border: #358916 2px solid;
  padding: 10px;
  color: #358916;
  border-radius: 50%;
}

.popup-container .popup .error-alert i {
  border: #de0808 2px solid;
  padding: 10px;
  color: #de0808;
  border-radius: 50%;
}

@media(max-width:700px) {
  .popup {
    width: 90%;
  }
}



/* TRANSACTION DETAILS */


/* Additional styles specific to this page */
body.receipt-page {
  background-color: #e9ecef;
  /* Slightly different background for contrast */
}

.receipt-container {
  background-color: #ffffff;
  border-radius: 8px;
  /* Less rounded for receipt feel */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  /* Center receipt */
  padding: 30px 25px;
  max-width: 380px;
  /* Limit width */
  border-top: 5px solid #3a9a8a;
  /* Green accent top */
}

.receipt-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #ced4da;
  /* Dashed separator */
}

.receipt-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.receipt-status .status-icon {
  font-size: 2.5em;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Status specific colors (Example: success) */
.receipt-status.success .status-icon {
  background-color: #d1fae5;
  color: #059669;
}

.receipt-status.pending .status-icon {
  background-color: #fef3c7;
  color: #d97706;
}

.receipt-status.failed .status-icon {
  background-color: #fee2e2;
  color: #dc2626;
}

.receipt-status .status-text {
  font-size: 1.2em;
  font-weight: 600;
  color: #1e293b;
}

/* Status specific colors (Example: success) */
.receipt-status.success .status-text {
  color: #059669;
}

.receipt-status.pending .status-text {
  color: #d97706;
}

.receipt-status.failed .status-text {
  color: #dc2626;
}

.receipt-amount {
  font-size: 2.2em;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.receipt-amount.debit {
  color: #dc2626;
}

.receipt-amount.credit {
  color: #16a34a;
}


.receipt-details {
  margin-bottom: 25px;
}

.receipt-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9em;
  border-bottom: 1px solid #f1f5f9;
  /* Very light separator */
}

.receipt-detail-item:last-child {
  border-bottom: none;
}

.receipt-detail-item .label {
  color: #64748b;
  /* Grey label */
}

.receipt-detail-item .value {
  color: #334155;
  /* Darker value */
  font-weight: 500;
  text-align: right;
  word-break: break-word;
  /* Break long IDs */
}

.receipt-detail-item .value.monospace {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95em;
}

/* Style for payment method display */
.receipt-detail-item .value .payment-method {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.receipt-detail-item .value .payment-method i {
  font-size: 1.3em;
  color: #3a6ea5;
  /* Example color */
}


.receipt-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed #ced4da;
  text-align: center;
}

.receipt-actions {
  display: flex;
  justify-content: center;
  /* Center the single button */
  gap: 15px;
  margin-top: 10px;
}

.receipt-actions .action-btn {
  background: none;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.receipt-actions .action-btn:hover {
  background-color: #f1f5f9;
  border-color: #adb5bd;
}

.receipt-actions .action-btn i {
  font-size: 0.9em;
}

/* Style for feedback after copying */
.receipt-actions .action-btn.copied {
  background-color: #d1fae5;
  /* Light green */
  color: #059669;
  /* Dark green */
  border-color: #a7f3d0;
}