* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Chase Logo SVG */
.chase-logo {
  display: inline-block;
  width: 48px;
  height: 48px;
}

.chase-logo-sm {
  width: 32px;
  height: 32px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-100%); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-100%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes checkDraw {
  from { stroke-dashoffset: 30; }
  to { stroke-dashoffset: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-fadeIn {
  animation: fadeIn 0.4s ease-out forwards;
}

.animate-slideIn {
  animation: slideIn 0.3s ease-out forwards;
}

.animate-slideOut {
  animation: slideOut 0.3s ease-in forwards;
}

.animate-scaleIn {
  animation: scaleIn 0.3s ease-out forwards;
}

.animate-spin-slow {
  animation: spin 1s linear infinite;
}

.stagger-1 { animation-delay: 0.05s; opacity: 0; }
.stagger-2 { animation-delay: 0.1s; opacity: 0; }
.stagger-3 { animation-delay: 0.15s; opacity: 0; }
.stagger-4 { animation-delay: 0.2s; opacity: 0; }
.stagger-5 { animation-delay: 0.25s; opacity: 0; }

/* Input styles */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #117ACA !important;
  box-shadow: 0 0 0 3px rgba(17, 122, 202, 0.15);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 3px;
}

/* Transitions */
.view-transition {
  animation: fadeIn 0.35s ease-out forwards;
}

/* Mobile drawer overlay */
.drawer-overlay {
  background: rgba(0,0,0,0.5);
  transition: opacity 0.3s;
}

/* Success checkmark */
.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: checkDraw 0.6s ease-in-out 0.2s forwards;
}

.checkmark-check {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: checkDraw 0.4s ease-in-out 0.6s forwards;
}

/* Disclaimer banner */
.disclaimer-banner {
  background: linear-gradient(90deg, #FFF8E1, #FFF3C4);
  border-bottom: 1px solid #F0D68A;
}

/* Promo banner */
.promo-banner {
  background: linear-gradient(135deg, #0A2240 0%, #163A64 100%);
}

/* Card hover */
.account-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.account-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Button press */
.btn-press:active {
  transform: scale(0.98);
}