:root {
  --orange: #ee7023;
  --orange-dark: #d4601a;
  --bg: #1a1a1a;
  --surface: #252525;
  --surface-elevated: #2e2e2e;
  --surface-card: #333333;
  --text: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #777777;
  --positive: #4caf50;
  --negative: #ffffff;
  --divider: #3a3a3a;
  --nav-bg: #1e1e1e;
  --teal: #5eead4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  height: 100dvh;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  user-select: none;
}

.screen {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.screen.active { display: flex; }
.screen.slide-in { display: flex; animation: slideIn 0.3s ease-out forwards; }
.screen.slide-out { display: flex; animation: slideOut 0.3s ease-in forwards; }

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

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

/* ========== LOGIN SCREEN ========== */

#screen-login {
  background: var(--orange);
}

.login-hero {
  position: relative;
  flex: 1;
  min-height: 58%;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 15%, rgba(255,235,180,0.7) 0%, transparent 50%),
    radial-gradient(ellipse at 65% 25%, rgba(210,170,60,0.6) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 55%, rgba(120,80,30,0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 35% 60%, rgba(180,140,50,0.4) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 85%, rgba(80,55,25,0.7) 0%, transparent 40%),
    linear-gradient(175deg,
      #e0c878 0%,
      #c9a244 12%,
      #b8903a 22%,
      #9a7428 35%,
      #7a5c22 48%,
      #5c4420 60%,
      #4a3218 72%,
      #3a2a15 85%,
      #2e2010 100%
    );
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,210,80,0.35) 0%, transparent 30%),
    radial-gradient(circle at 55% 20%, rgba(240,200,70,0.25) 0%, transparent 25%),
    radial-gradient(circle at 70% 40%, rgba(200,160,50,0.2) 0%, transparent 20%),
    radial-gradient(circle at 20% 50%, rgba(230,190,70,0.2) 0%, transparent 22%),
    radial-gradient(circle at 45% 45%, rgba(220,180,60,0.15) 0%, transparent 18%),
    radial-gradient(circle at 80% 30%, rgba(210,170,50,0.2) 0%, transparent 20%);
}

.hero-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(238,112,35,0.3), transparent);
}

.login-bottom {
  position: relative;
  background: var(--orange);
  padding: 0 24px 40px;
}

.login-wave {
  position: absolute;
  top: -68px;
  left: 0;
  right: 0;
  width: 100%;
  height: 70px;
}

.login-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.btn-login {
  width: 100%;
  padding: 16px;
  border-radius: 40px;
  border: none;
  background: white;
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.15s;
}

.btn-login:active { transform: scale(0.97); }

.bankid-logo {
  height: 24px;
  width: auto;
  flex-shrink: 0;
}

.bankid-logo-sm {
  height: 22px;
  width: auto;
  flex-shrink: 0;
}

.btn-quickbalance {
  width: 100%;
  padding: 16px;
  border-radius: 40px;
  border: 2px solid white;
  background: transparent;
  color: white;
  font-size: 18px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.btn-quickbalance:active {
  background: rgba(255,255,255,0.15);
  transform: scale(0.97);
}

.login-more {
  color: white;
  font-size: 14px;
  text-decoration: none;
  margin-top: 6px;
  opacity: 0.9;
}

/* ========== SNABBSALDO SHEET ========== */

.snabbsaldo-sheet {
  text-align: center;
  padding-bottom: 50px;
}

.snabbsaldo-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.snabbsaldo-amount {
  font-size: 52px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.snabbsaldo-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.btn-snabboverforing {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 40px;
  border: 2px solid var(--teal);
  background: transparent;
  color: var(--teal);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background 0.15s, transform 0.15s;
}

.btn-snabboverforing:active {
  background: rgba(94, 234, 212, 0.1);
  transform: scale(0.97);
}

.snabbsaldo-settings {
  color: var(--teal);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

/* ========== DASHBOARD SCREEN ========== */

#screen-dashboard {
  background: var(--bg);
  padding-bottom: 80px;
}

.dashboard-header {
  position: relative;
  padding: 50px 24px 24px;
}

.header-bg-wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.header-bg-wave svg {
  width: 100%;
  height: 120px;
  display: block;
}

.balance-section {
  position: relative;
  text-align: center;
  padding-top: 20px;
}

.balance-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.balance-account-name {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.balance-amount {
  font-size: 40px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -1px;
}

.quick-actions {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 28px;
  position: relative;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}

.action-btn span {
  font-size: 13px;
  color: var(--text-secondary);
}

.action-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #2d4f4f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}

.action-btn:active .action-icon { transform: scale(0.92); }

.dashboard-content {
  padding: 0 16px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 0 4px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
}

.account-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  cursor: pointer;
  transition: background 0.15s;
}

.account-card:active { background: var(--surface-elevated); }

.account-info .account-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.account-info .account-number {
  font-size: 13px;
  color: var(--text-muted);
}

.account-balance-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-balance {
  font-size: 16px;
  font-weight: 600;
}

.card-section {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 28px;
}

.debit-card {
  position: relative;
  width: 270px;
  margin: 16px auto 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.35),
    0 2px 6px rgba(0,0,0,0.2);
}

.card-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Dashboard transactions */

.transactions-section { margin-bottom: 20px; }

.dash-transactions {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
}

.dash-tx-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--divider);
  cursor: pointer;
  transition: background 0.15s;
}

.dash-tx-row:last-child { border-bottom: none; }
.dash-tx-row:active { background: var(--surface-elevated); }

.dash-tx-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}

.dash-tx-date {
  font-size: 13px;
  color: var(--text-muted);
}

.dash-tx-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-tx-amount {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.dash-tx-amount.positive {
  color: var(--text);
}

/* Utgiftskollen */

.utgiftskollen-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 32px 24px 28px;
  text-align: center;
  margin-bottom: 24px;
  margin-top: 8px;
}

.utgifts-icon {
  font-size: 56px;
  margin-bottom: 12px;
  line-height: 1;
}

.utgifts-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 6px;
}

.utgifts-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.btn-anpassa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 20px;
  padding: 14px 28px;
  border-radius: 40px;
  border: none;
  background: rgba(94, 234, 212, 0.15);
  color: var(--teal);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.btn-anpassa:active {
  background: rgba(94, 234, 212, 0.25);
  transform: scale(0.97);
}

.tyck-till-link {
  display: block;
  text-align: center;
  color: var(--orange);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 30px;
}

/* ========== BOTTOM NAV ========== */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  display: flex;
  background: var(--nav-bg);
  border-top: 1px solid var(--divider);
  padding: 8px 0;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  z-index: 100;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  font-family: inherit;
  font-size: 11px;
  position: relative;
  transition: color 0.15s;
}

.nav-item.active { color: var(--orange); }
.nav-item.active svg { color: var(--orange); }

.nav-item.has-badge::after {
  content: '';
  position: absolute;
  top: 4px;
  right: calc(50% - 18px);
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

/* ========== ACCOUNT DETAIL SCREEN ========== */

#screen-account {
  background: var(--bg);
  padding-bottom: 80px;
}

.account-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  padding-top: 50px;
}

.back-btn, .search-btn, .settings-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--divider);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.back-btn:active, .search-btn:active, .settings-btn:active {
  background: var(--surface);
}

.account-detail-content { padding: 8px 24px; }

.detail-account-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 16px;
}

.detail-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.detail-balance {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.detail-account-number {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
}

.detail-divider {
  height: 1px;
  background: var(--divider);
  margin: 8px 0;
}

.detail-links { margin-bottom: 8px; }

.detail-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--divider);
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  transition: opacity 0.15s;
}

.detail-link:active { opacity: 0.6; }

.transactions-list { margin-top: 8px; }

.month-header {
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  padding: 20px 0 14px;
}

.transaction-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--divider);
  cursor: pointer;
  transition: opacity 0.15s;
}

.transaction-row:active { opacity: 0.6; }

.transaction-row .transaction-name {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 3px;
}

.transaction-row .transaction-date {
  font-size: 13px;
  color: var(--text-muted);
}

.transaction-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.transaction-right .transaction-amount {
  font-size: 15px;
  font-weight: 600;
}

.transaction-amount.positive { color: var(--text); }
.transaction-amount.negative { color: var(--text); }

/* ========== FAB ========== */

.fab-transfer {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 382px;
  padding: 16px 32px;
  border-radius: 40px;
  border: none;
  background: var(--orange);
  color: white;
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 4px 20px rgba(238, 112, 35, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}

.fab-transfer:active {
  transform: translateX(-50%) scale(0.97);
  box-shadow: 0 2px 12px rgba(238, 112, 35, 0.3);
}

/* ========== BOTTOM SHEETS ========== */

.bottom-sheet {
  position: absolute;
  inset: 0;
  z-index: 200;
  display: none;
}

.bottom-sheet.open { display: block; }

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.sheet-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  padding: 12px 24px 40px;
  animation: sheetUp 0.3s ease-out;
  max-height: 70%;
  overflow-y: auto;
}

@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.bottom-sheet.closing .sheet-backdrop {
  animation: fadeOut 0.25s ease-in forwards;
}

.bottom-sheet.closing .sheet-content {
  animation: sheetDown 0.25s ease-in forwards;
}

@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes sheetDown { from { transform: translateY(0); } to { transform: translateY(100%); } }

.sheet-handle {
  width: 40px;
  height: 4px;
  background: var(--text-muted);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.sheet-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 24px;
}

.sheet-illustration {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.sheet-empty-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
}

.sheet-empty-text {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}

.sheet-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--divider);
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  transition: opacity 0.15s;
}

.sheet-link:active { opacity: 0.6; }
.sheet-link span { flex: 1; }
.sheet-link-chevron { flex-shrink: 0; }

/* ========== HELP SCREEN ========== */

#screen-hjalp {
  background: var(--bg);
  padding-bottom: 80px;
}

.help-header {
  position: relative;
  padding: 50px 24px 0;
}

.help-title {
  position: relative;
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  padding-top: 30px;
  margin-bottom: 30px;
}

.help-content { padding: 0 24px; }

.help-books {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.help-description {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-dictionary {
  display: block;
  margin: 0 auto 36px;
  padding: 14px 32px;
  border-radius: 40px;
  border: 2px solid var(--teal);
  background: transparent;
  color: var(--teal);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.btn-dictionary:active {
  background: rgba(94, 234, 212, 0.1);
  transform: scale(0.97);
}

.faq-section { margin-bottom: 20px; }

.faq-list {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item { border-bottom: 1px solid var(--divider); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 16px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: background 0.15s;
}

.faq-question:active { background: var(--surface-elevated); }

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer p {
  padding: 0 16px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========== PROFILE (DU) SCREEN ========== */

#screen-du {
  background: var(--bg);
  padding-bottom: 80px;
}

.profile-header {
  position: relative;
  padding: 50px 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.profile-greeting {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-top: 20px;
}

.greeting-bubble {
  background: var(--orange);
  color: white;
  font-size: 22px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 20px;
  position: relative;
  margin-bottom: 8px;
}

.greeting-bubble::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--orange);
}

.profile-name {
  font-size: 32px;
  font-weight: 800;
  color: var(--orange);
  margin-top: 8px;
}

.settings-btn {
  position: absolute;
  top: 50px;
  right: 24px;
  border-color: transparent;
}

.profile-content { padding: 0 16px; }

.profile-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 18px 16px;
  margin-bottom: 4px;
}

.profile-card.clickable {
  cursor: pointer;
  transition: background 0.15s;
}

.profile-card.clickable:active { background: var(--surface-elevated); }

.profile-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-card-title {
  font-size: 16px;
  font-weight: 600;
}

.profile-card-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

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

.profile-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  margin: 24px 4px 12px;
}

.profile-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  transition: opacity 0.15s;
}

.profile-link:active { opacity: 0.6; }

.profile-link-divider {
  height: 1px;
  background: var(--divider);
}

.logout-area {
  display: flex;
  justify-content: flex-end;
  padding: 40px 0 20px;
}

.btn-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 40px;
  border: none;
  background: var(--orange);
  color: white;
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(238, 112, 35, 0.3);
  transition: transform 0.15s;
}

.btn-logout:active { transform: scale(0.97); }

/* ========== KONTODETALJER SCREEN ========== */

#screen-kontodetaljer {
  background: var(--bg);
  padding-bottom: 80px;
}

.sub-header {
  display: flex;
  align-items: center;
  padding: 16px;
  padding-top: 20px;
  gap: 16px;
}

.sub-header-title {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.sub-header-spacer {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.kontodet-content { padding: 8px 24px; }

.kontodet-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 20px;
}

.kontodet-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--divider);
}

.kontodet-balance-row.highlight {
  border-left: 3px solid var(--orange);
  padding-left: 12px;
}

.kontodet-label {
  font-size: 15px;
  font-weight: 500;
}

.kontodet-label.muted {
  color: var(--text-secondary);
}

.kontodet-value {
  font-size: 16px;
  font-weight: 600;
}

.kontodet-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0 16px;
}

.kontodet-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
}

.kontodet-copy {
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.kontodet-details {
  border-top: 1px solid var(--divider);
}

.kontodet-detail-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--divider);
}

.kontodet-detail-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.kontodet-detail-value {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ========== MINA ÄRENDEN SCREEN ========== */

#screen-arenden {
  background: var(--bg);
  padding-bottom: 80px;
}

.arenden-content { padding: 0 16px; }

.arenden-tabs {
  display: flex;
  background: var(--surface);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 24px;
}

.arenden-tab {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 26px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  background: transparent;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s;
}

.arenden-tab.active {
  background: #f0c040;
  color: #1a1a1a;
}

.arenden-panel {
  display: none;
}

.arenden-panel.active {
  display: block;
}

.arenden-empty {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.arenden-help-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--teal);
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.15s;
}

.arenden-help-link:active { opacity: 0.6; }

/* ========== SCROLLBAR ========== */

.screen::-webkit-scrollbar { width: 0; }

/* ========== RESPONSIVE ========== */

@media (min-width: 431px) {
  body {
    border-left: 1px solid #333;
    border-right: 1px solid #333;
  }
}
