:root{
  --emerald-50:#ecfdf5;
  --emerald-100:#d1fae5;
  --emerald-200:#a7f3d0;
  --emerald-300:#6ee7b7;
  --emerald-400:#34d399;
  --emerald-500:#10b981;
  --emerald-600:#059669;
  --emerald-700:#047857;
  --emerald-800:#065f46;
  --emerald-900:#064e3b;

  --bs-primary: var(--emerald-600);
  --bs-primary-rgb: 5,150,105;
}

body {
  font-family: "Prompt", sans-serif;
  background: #f8fdfb; 
  padding-bottom: 2rem;
}
.app { 
  min-height: 100svh; 
  display: grid; 
  place-items: start center; 
  padding-block: 24px; 
}

.card-modern { 
  width: min(720px, 100%); 
  border: 0; 
  border-radius: 16px; 
  box-shadow: 0 10px 30px rgba(2,6,23,.06); 
  background: #ffffff; 
}

.bank-card {
  border-left: 4px solid var(--emerald-500);
}

/* Buttons */
.btn-emerald {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  color: white;
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
  border-radius: 0.75rem;
}
.btn-emerald:hover {
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16,185,129,0.4);
}

.btn-outline-emerald {
  border: 2px solid var(--emerald-500);
  color: var(--emerald-600);
  font-weight: 600;
  border-radius: 0.75rem;
}
.btn-outline-emerald:hover {
  background: var(--emerald-500);
  color: white;
}

/* Text emerald */
.text-emerald {
  color: var(--emerald-600) !important;
}

/* Inputs */
.form-control {
  border-radius: 0.75rem;
  border: 2px solid #e5e7eb;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}
.form-control:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 0.2rem rgba(16,185,129,0.25);
}

/* Preview */
.preview img { 
  max-width:100%; 
  height:auto; 
  border-radius:8px; 
  border: 2px solid var(--emerald-100);
}

/* Toast */
.toast.text-bg-success {
  background: var(--emerald-600) !important;
}
.navbar {
  background: linear-gradient(135deg, var(--emerald-500) 0%, var(--emerald-600) 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar .btn {
  color: white;
  border-color: rgba(255,255,255,0.3);
}
.navbar .btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}
.navbar-brand {
  color: white !important;
  font-size: 1.1rem;
}

.card { 
  border-radius: 1rem; 
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.search-card {
  position: sticky;
  top: 1rem;
  z-index: 100;
  background: white;
}

.form-control {
  border-radius: 0.75rem;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}
.form-control:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 0.2rem rgba(16,185,129,0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-500) 0%, var(--emerald-600) 100%);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16,185,129,0.4);
}

.btn-outline-secondary {
  border-radius: 0.75rem;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

.list-group-item { 
  border: none; 
  border-bottom: 1px solid #f0f0f0;
  padding: 1.25rem;
}

.item-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.phone-display {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
}
.amount-display {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--emerald-600);
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.status-badge { 
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
}
.status-badge.bg-warning {
  background: #fcd34d !important;
  color: #000 !important;
}
.status-badge.bg-success {
  background: var(--emerald-500) !important;
}
.status-badge.bg-danger {
  background: #ef4444 !important;
}

.item-note { 
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  border-left: 4px solid var(--emerald-500);
  font-weight: 500;
}
.item-note-denied {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #991b1b;
  border-left-color: #ef4444;
}

.note-label {
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: block;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #6c757d;
}
.empty-state svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.pagination-wrapper {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-top: 1rem;
}

.spinner-area { 
  min-height: 60px; 
}
