
/* CHIFRANDO DEBIT BOOK — UI VERSION 0.0.02 */

:root {
  --modern-blue: #204da7;
  --modern-text: #17243b;
  --modern-muted: #7a8699;
  --modern-border: #e8edf5;
}

body {
  background: #f5f7fb;
  color: var(--modern-text);
}

.main {
  min-width: 0;
  padding-bottom: 35px;
}

.hidden {
  display: none !important;
}

/* SIDEBAR */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  font-size: 26px;
}

.brand small {
  display: block;
  font-size: 11px;
  opacity: .75;
  font-weight: 500;
  margin-top: 3px;
}

/* HEADER */

.modern-top {
  background: #fff;
  border: 1px solid var(--modern-border);
  border-radius: 18px;
  padding: 17px 22px;
  box-shadow: 0 5px 25px rgba(20,45,85,.035);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.modern-top h1 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 3px 0;
}

.top-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--modern-blue);
}

.top-subtitle {
  color: var(--modern-muted);
  font-size: 12px;
}

.top-actions {
  display: flex;
  gap: 10px;
}

.top-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid var(--modern-border);
  background: #f8faff;
  color: var(--modern-blue);
  font-size: 20px;
  cursor: pointer;
}

.top-icon:hover {
  background: #edf3ff;
}

/* DASHBOARD */

.welcome-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.welcome-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--modern-blue);
  letter-spacing: 1px;
}

.welcome-panel h2 {
  font-size: 22px;
  margin: 7px 0;
  letter-spacing: -.5px;
}

.welcome-panel p {
  color: var(--modern-muted);
  font-size: 13px;
  margin: 0;
}

.modern-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 15px;
}

.modern-stats .stat {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--modern-border);
  border-radius: 18px;
  padding: 19px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  box-shadow: 0 5px 25px rgba(20,45,85,.035);
}

.modern-stats .stat small {
  color: var(--modern-muted);
  font-size: 12px;
  font-weight: 600;
}

.modern-stats .stat strong {
  font-size: clamp(18px,2vw,27px);
  font-weight: 800;
  letter-spacing: -.7px;
  overflow-wrap: anywhere;
}

.stat-note {
  font-size: 11px;
  color: #9aa5b5;
}

.stat-icon {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 7px;
}

.stat-icon.blue {
  background: #e9f0ff;
  color: #204da7;
}

.stat-icon.green {
  background: #e7f8ee;
  color: #15965a;
}

.stat-icon.orange {
  background: #fff1dc;
  color: #dc870a;
}

.stat-icon.purple {
  background: #f0eaff;
  color: #7951d1;
}

/* CARDS */

.card {
  border-radius: 18px;
  border: 1px solid var(--modern-border);
  box-shadow: 0 5px 25px rgba(20,45,85,.035);
}

.recent-card {
  margin-top: 20px;
}

.btn {
  border-radius: 11px;
}

.btn.primary {
  background: var(--modern-blue);
}

button:disabled {
  opacity: .6;
  cursor: not-allowed;
}

