/* =========================================
   PulsaKu — Design System v2
   Green & White | Professional | Mobile-first
   ========================================= */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    /* Primary Green Palette */
    --color-primary: #16A34A;
    --color-primary-dark: #15803D;
    --color-primary-darker: #14532D;
    --color-primary-light: #22C55E;
    --color-primary-50: #F0FDF4;
    --color-primary-100: #DCFCE7;
    --color-primary-200: #BBF7D0;
    --color-primary-gradient: linear-gradient(135deg, #14532D 0%, #16A34A 55%, #22C55E 100%);
    --color-primary-gradient-soft: linear-gradient(135deg, #15803D 0%, #16A34A 100%);

    /* Secondary (PLN / Blue accent) */
    --color-secondary: #0284C7;
    --color-secondary-light: #38BDF8;
    --color-secondary-50: #F0F9FF;

    /* Semantic colors */
    --color-success: #16A34A;
    --color-success-bg: #F0FDF4;
    --color-warning: #D97706;
    --color-warning-bg: #FFFBEB;
    --color-danger: #DC2626;
    --color-danger-bg: #FEF2F2;
    --color-info: #2563EB;
    --color-info-bg: #EFF6FF;
    --color-focus-ring-primary: rgba(22, 163, 74, 0.12);
    --color-focus-ring-danger: rgba(220, 38, 38, 0.12);

    /* Neutrals */
    --color-bg: #F8FAFC;
    --color-surface: #FFFFFF;
    --color-surface-2: #F1F5F9;
    --color-border: #E2E8F0;
    --color-border-light: #F1F5F9;
    --color-text: #0F172A;
    --color-text-secondary: #475569;
    --color-text-muted: #94A3B8;
    --color-text-white: #FFFFFF;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.6875rem;    /* 11px */
    --font-size-sm: 0.8125rem;    /* 13px */
    --font-size-base: 0.9375rem;  /* 15px */
    --font-size-md: 1rem;         /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.375rem;     /* 22px */
    --font-size-2xl: 1.75rem;     /* 28px */
    --font-size-3xl: 2.25rem;     /* 36px */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Spacing */
    --space-xs: 0.25rem;    /* 4px */
    --space-sm: 0.5rem;     /* 8px */
    --space-md: 0.75rem;    /* 12px */
    --space-base: 1rem;     /* 16px */
    --space-lg: 1.25rem;    /* 20px */
    --space-xl: 1.5rem;     /* 24px */
    --space-2xl: 2rem;      /* 32px */
    --space-3xl: 2.5rem;    /* 40px */
    --space-4xl: 3rem;      /* 48px */

    /* Border Radius */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.10), 0 4px 8px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 4px 16px rgba(22, 163, 74, 0.30);
    --shadow-green-lg: 0 8px 28px rgba(22, 163, 74, 0.35);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 220ms ease;
    --transition-slow: 350ms ease;

    /* Layout */
    --header-height: 60px;
    --bottom-nav-height: 68px;
    --max-content-width: 520px;
    --max-desktop-width: 1140px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    min-height: 100dvh;
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--color-primary-dark); }

img { max-width: 100%; height: auto; display: block; }

/* ===================================================
   MOBILE HEADER — Fixed top, green branded
   =================================================== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--header-height);
    background: var(--color-primary-gradient-soft);
    box-shadow: 0 2px 12px rgba(20, 83, 45, 0.25);
}

.app-header__inner {
    height: 100%;
    max-width: var(--max-desktop-width);
    margin: 0 auto;
    padding: 0 var(--space-base);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand / Logo */
.app-header__brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}

.app-brand-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.app-brand-logo--footer {
    width: 28px;
    height: 28px;
}

.app-header__logo-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.app-header__name {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-lg);
    color: #fff;
    letter-spacing: -0.02em;
}

/* Desktop nav links (hidden on mobile) */
.app-header__nav-desktop {
    display: none;
    align-items: center;
    gap: var(--space-xs);
}

.app-header__nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.app-header__nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.app-header__nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: var(--font-weight-semibold);
}

.app-header__nav-link .material-symbols-rounded {
    font-size: 18px;
}

/* Header actions (right side) */
.app-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.app-header__action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    transition: background var(--transition-fast);
    text-decoration: none;
}

.app-header__action-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.app-header__action-btn .material-symbols-rounded {
    font-size: 20px;
}

/* ===================================================
   MOBILE BOTTOM NAV
   =================================================== */
.app-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--bottom-nav-height);
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.app-bottom-nav__inner {
    display: flex;
    width: 100%;
    max-width: var(--max-content-width);
    margin: 0 auto;
    align-items: center;
    justify-content: space-around;
    padding: var(--space-xs) 0;
}

.app-bottom-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 56px;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 10px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.app-bottom-nav__link .material-symbols-rounded {
    font-size: 24px;
    transition: all var(--transition-fast);
}

.app-bottom-nav__link:hover {
    color: var(--color-primary);
}

.app-bottom-nav__link.active {
    color: var(--color-primary);
}

.app-bottom-nav__link.active .material-symbols-rounded {
    font-variation-settings: 'FILL' 1;
}

.app-bottom-nav__link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 0 0 var(--radius-full) var(--radius-full);
}

/* ===================================================
   MAIN LAYOUT
   =================================================== */
.app-main {
    padding-top: var(--header-height);
    padding-bottom: calc(var(--bottom-nav-height) + var(--space-2xl));
    min-height: 100dvh;
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero-bg {
    position: relative;
    background: var(--color-primary-gradient);
    padding: var(--space-xl) var(--space-base) var(--space-4xl);
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 240px;
    height: 240px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.hero-bg__wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 32px;
    background: var(--color-bg);
    border-radius: 32px 32px 0 0;
}

.hero-section {
    position: relative;
    z-index: 1;
    max-width: var(--max-desktop-width);
    margin: 0 auto;
}

.hero-section__greeting {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.75);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-section__title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-extrabold);
    color: #fff;
    line-height: 1.25;
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.hero-section__subtitle {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.80);
}

/* Hero stats strip */
.hero-stats {
    display: flex;
    gap: var(--space-base);
    margin-top: var(--space-lg);
    position: relative;
    z-index: 1;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-stat__value {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    color: #fff;
    line-height: 1;
}

.hero-stat__label {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.70);
    margin-top: 2px;
}

.hero-stat + .hero-stat {
    padding-left: var(--space-base);
    border-left: 1px solid rgba(255, 255, 255, 0.20);
}

/* ===================================================
   PAGE CONTAINER & SECTIONS
   =================================================== */
.page-container {
    max-width: var(--max-desktop-width);
    margin: 0 auto;
    padding: 0 var(--space-base);
}

.section {
    margin-bottom: var(--space-xl);
}

.section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.section__title {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.section__link {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
}

/* ===================================================
   CARD
   =================================================== */
.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
}

.card--elevated {
    box-shadow: var(--shadow-md);
}

/* ===================================================
   BOTTOM ACTION AREA
   =================================================== */
.bottom-action-bar {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

/* ===================================================
   SERVICE CARDS (CTA Cards)
   =================================================== */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-lg);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    text-decoration: none;
    color: var(--color-text);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 0 var(--radius-lg) 0 80px;
    opacity: 0.06;
    transition: opacity var(--transition-base);
}

.service-card--pulsa::before {
    background: var(--color-primary);
}

.service-card--pln::before {
    background: var(--color-secondary);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.service-card--pulsa:hover {
    box-shadow: var(--shadow-green);
}

.service-card__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    font-size: 22px;
}

.service-card__icon-wrap--pulsa {
    background: var(--color-primary-100);
    color: var(--color-primary-dark);
}

.service-card__icon-wrap--pln {
    background: #E0F2FE;
    color: var(--color-secondary);
}

.service-card__title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: 2px;
}

.service-card__desc {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    line-height: 1.4;
}

.service-card__arrow {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    font-size: 18px;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.service-card:hover .service-card__arrow {
    color: var(--color-primary);
}

/* ===================================================
   QUICK LINKS GRID
   =================================================== */
.quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-sm);
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-text-secondary);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-fast);
    text-align: center;
    box-shadow: var(--shadow-xs);
}

.quick-link:hover {
    border-color: var(--color-primary-200);
    background: var(--color-primary-50);
    color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.quick-link .material-symbols-rounded {
    font-size: 22px;
    color: var(--color-primary);
}

/* ===================================================
   QUICK REORDER
   =================================================== */
.shortcut-group__label {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-sm);
}

.shortcut-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.shortcut-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-base);
    padding: var(--space-base);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-xs);
    color: var(--color-text);
    text-decoration: none;
}

.shortcut-card:hover {
    border-color: var(--color-primary-200);
    box-shadow: var(--shadow-sm);
}

.shortcut-card__content {
    min-width: 0;
}

.shortcut-card__title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.shortcut-card__target {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    margin-top: 2px;
}

.shortcut-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-xs);
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.shortcut-card__action {
    flex-shrink: 0;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
}

/* ===================================================
   PROMO / INFO BANNER
   =================================================== */
.info-banner {
    background: var(--color-primary-gradient-soft);
    border-radius: var(--radius-lg);
    padding: var(--space-base) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.info-banner::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.info-banner__icon {
    font-size: 28px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.info-banner__content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.info-banner__title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    margin-bottom: 2px;
}

.info-banner__desc {
    font-size: var(--font-size-xs);
    color: rgba(255,255,255,0.80);
}

/* ===================================================
   STATUS CHECK CARD
   =================================================== */
.status-check-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
}

.status-check-card__title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.status-check-card__subtitle {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin-bottom: var(--space-base);
}

/* ===================================================
   PULSA FORM
   =================================================== */
.pulsa-form {
    padding-bottom: calc(var(--bottom-nav-height) + 120px);
}

.progressive-section[hidden] {
    display: none;
}

.operator-panel {
    margin-top: var(--space-base);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-surface-2);
}

.operator-panel--neutral {
    border-color: var(--color-border);
    background: var(--color-surface-2);
}

.operator-panel--valid {
    border-color: color-mix(in srgb, var(--color-success) 24%, white);
    background: var(--color-success-bg);
}

.operator-panel--invalid {
    border-color: color-mix(in srgb, var(--color-danger) 24%, white);
    background: var(--color-danger-bg);
}

.operator-panel__header {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.operator-panel__value {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary-dark);
}

.operator-panel--invalid .operator-panel__value {
    color: var(--color-danger);
}

.operator-panel__caption {
    margin-top: 4px;
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
}

.nominal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
}

.nominal-helper {
    margin-bottom: var(--space-base);
}

.nominal-loading {
    padding: var(--space-base);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-surface-2);
    margin-bottom: var(--space-sm);
}

.nominal-loading__header {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-base);
}

.nominal-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
}

.nominal-skeleton-card {
    padding: var(--space-base);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    background: var(--color-surface);
    min-height: 92px;
}

.nominal-skeleton {
    display: block;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, #e2e8f0 25%, #f8fafc 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.1s linear infinite;
}

.nominal-skeleton--title {
    width: 72%;
    height: 14px;
}

.nominal-skeleton--price {
    width: 88%;
    height: 12px;
    margin-top: var(--space-sm);
}

.nominal-skeleton--meta {
    width: 58%;
    height: 12px;
    margin-top: var(--space-lg);
}

.nominal-card {
    position: relative;
    text-align: left;
    padding: var(--space-base);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--color-border);
    background: var(--color-surface);
    min-height: 92px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.nominal-card:hover {
    border-color: var(--color-primary-200);
    transform: translateY(-1px);
}

.nominal-card:active {
    transform: translateY(0);
    background: var(--color-primary-50);
}

.nominal-card:hover {
    border-color: var(--color-primary-200);
    transform: translateY(-1px);
}

.nominal-card:active {
    transform: translateY(0);
    background: var(--color-primary-50);
}

.nominal-card--selected {
    border-color: var(--color-primary);
    background: var(--color-primary-50);
    box-shadow: 0 0 0 3px var(--color-focus-ring-primary);
}

.nominal-card--disabled {
    opacity: 0.55;
}

.nominal-card__badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: var(--color-text-white);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
}

.nominal-card--selected .nominal-card__badge,
.nominal-card--disabled .nominal-card__badge {
    display: inline-flex;
}

.nominal-card__badge--muted {
    background: var(--color-text-muted);
}

.nominal-card__label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.nominal-card__price {
    display: block;
    margin-top: var(--space-xs);
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.nominal-card__state {
    display: inline-block;
    margin-top: var(--space-sm);
    font-size: var(--font-size-xs);
    color: var(--color-danger);
}

.nominal-card__meta {
    display: inline-block;
    margin-top: var(--space-sm);
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
}

.payment-method-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: var(--space-base);
    width: 100%;
    text-align: left;
    padding: var(--space-base);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--color-border);
    background: var(--color-surface);
}

.payment-method-card:hover {
    border-color: var(--color-primary-200);
}

.payment-method-card--selected {
    border-color: var(--color-primary);
    background: var(--color-primary-50);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.payment-method-card__icon {
    font-size: 24px;
    color: var(--color-primary);
}

.payment-method-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.payment-method-card__label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.payment-method-card__desc {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.payment-method-card__check {
    font-size: 20px;
    color: var(--color-border);
}

.payment-method-card--selected .payment-method-card__check {
    color: var(--color-primary);
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-base);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.summary-row strong {
    text-align: right;
    color: var(--color-text);
}

.summary-row--total {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
}

/* ===================================================
   FORM ELEMENTS
   =================================================== */
.form-group {
    margin-bottom: var(--space-base);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xs);
}

.form-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input-wrap .material-symbols-rounded {
    position: absolute;
    left: var(--space-md);
    font-size: 20px;
    color: var(--color-text-muted);
    pointer-events: none;
    z-index: 1;
}

.form-input-wrap .form-input {
    padding-left: calc(var(--space-md) + 20px + var(--space-sm));
}

.form-input {
    width: 100%;
    padding: var(--space-md) var(--space-base);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    color: var(--color-text);
    background: var(--color-surface);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    min-height: 48px;
    outline: none;
}

.form-input::placeholder {
    color: var(--color-text-muted);
    font-weight: var(--font-weight-normal);
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-focus-ring-primary);
}

.form-input:disabled,
.form-input[readonly] {
    background: var(--color-surface-2);
    color: var(--color-text-muted);
    cursor: not-allowed;
}

.form-input--error {
    border-color: var(--color-danger);
    background: var(--color-danger-bg);
}

.form-input--error:focus {
    box-shadow: 0 0 0 3px var(--color-focus-ring-danger);
}

.form-helper {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-helper--success {
    color: var(--color-success);
}

.form-helper--warning {
    color: var(--color-warning);
}

.form-helper--info {
    color: var(--color-info);
}

.form-error {
    font-size: var(--font-size-xs);
    color: var(--color-danger);
    margin-top: var(--space-xs);
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-error[hidden],
.form-helper[hidden] {
    display: none;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    line-height: 1.4;
    min-height: 48px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn--primary {
    background: var(--color-primary-gradient-soft);
    color: #fff;
    box-shadow: var(--shadow-green);
}
.btn--primary:hover {
    background: linear-gradient(135deg, #14532D 0%, #15803D 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-green-lg);
}
.btn--primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn--secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}
.btn--secondary:hover {
    background: var(--color-primary-50);
    border-color: var(--color-primary-200);
    color: var(--color-primary-dark);
}

.btn--outline-primary {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}
.btn--outline-primary:hover {
    background: var(--color-primary-50);
    color: var(--color-primary-dark);
}

.btn--ghost {
    background: transparent;
    color: var(--color-primary);
    border: none;
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
}
.btn--ghost:hover {
    background: var(--color-primary-50);
}

.btn--block { width: 100%; }

.btn--lg {
    padding: var(--space-base) var(--space-2xl);
    font-size: var(--font-size-md);
    min-height: 54px;
    border-radius: var(--radius-lg);
}

.btn--sm {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-sm);
    min-height: 36px;
    border-radius: var(--radius-sm);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ===================================================
   STATUS BADGES
   =================================================== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.02em;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-badge--pending {
    background: var(--color-warning-bg);
    color: var(--color-warning);
    border: 1px solid #FDE68A;
}
.status-badge--pending::before { background: var(--color-warning); }

.status-badge--success {
    background: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid var(--color-primary-200);
}
.status-badge--success::before { background: var(--color-success); }

.status-badge--failed {
    background: var(--color-danger-bg);
    color: var(--color-danger);
    border: 1px solid #FECACA;
}
.status-badge--failed::before { background: var(--color-danger); }

.status-badge--neutral {
    background: var(--color-surface-2);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}
.status-badge--neutral::before { background: var(--color-text-muted); }

/* ===================================================
   EMPTY STATE
   =================================================== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-4xl) var(--space-base);
}

.empty-state__icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-2xl);
    background: var(--color-primary-50);
    border: 1px solid var(--color-primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.empty-state__icon {
    font-size: 40px;
    color: var(--color-primary);
}

.empty-state__title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.empty-state__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    max-width: 280px;
    line-height: 1.6;
}

/* ===================================================
   STICKY CTA
   =================================================== */
.sticky-cta {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + var(--space-sm));
    left: 0;
    right: 0;
    z-index: 90;
    padding: 0 var(--space-base);
    pointer-events: none;
}

.sticky-cta__inner {
    max-width: var(--max-content-width);
    margin: 0 auto;
    pointer-events: auto;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);
}

.sticky-cta__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-base);
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border-light);
}

.sticky-cta__summary-label {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.sticky-cta__summary-value {
    font-size: var(--font-size-base);
    color: var(--color-text);
}

/* ===================================================
   FOOTER
   =================================================== */
.app-footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: var(--space-xl) var(--space-base);
    margin-bottom: var(--bottom-nav-height);
    text-align: center;
}

.app-footer__inner {
    max-width: var(--max-desktop-width);
    margin: 0 auto;
}

.app-footer__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.app-footer__brand-name {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.app-footer__tagline {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.app-footer__support {
    display: flex;
    gap: var(--space-base);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-sm);
}

.app-footer__support a {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-primary);
}

.app-footer__copy {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

/* ===================================================
   SPINNER / LOADING
   =================================================== */
.spinner {
    width: 24px;
    height: 24px;
    border: 2.5px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

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

.loading-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-4xl) var(--space-base);
}

.loading-overlay p {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

/* ===================================================
   UTILITIES
   =================================================== */
.text-center { text-align: center; }
.text-muted   { color: var(--color-text-muted); }
.text-primary { color: var(--color-primary); }
.text-white   { color: #fff; }
.text-sm      { font-size: var(--font-size-sm); }
.text-xs      { font-size: var(--font-size-xs); }
.font-bold    { font-weight: var(--font-weight-bold); }
.font-semibold{ font-weight: var(--font-weight-semibold); }
.mt-sm  { margin-top: var(--space-sm); }
.mt-base{ margin-top: var(--space-base); }
.mt-lg  { margin-top: var(--space-lg); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-base{ margin-bottom: var(--space-base); }
.mb-lg  { margin-bottom: var(--space-lg); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.w-full { width: 100%; }

/* Trust badges */
.trust-row {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.trust-item .material-symbols-rounded {
    font-size: 16px;
    color: var(--color-primary);
}

/* Divider */
.divider {
    height: 1px;
    background: var(--color-border);
    margin: var(--space-lg) 0;
}

/* ===================================================
   DESKTOP BREAKPOINT (≥ 768px)
   =================================================== */
@media (min-width: 768px) {
    /* Show desktop nav, hide bottom nav */
    .app-header__nav-desktop {
        display: flex;
    }

    .app-bottom-nav {
        display: none;
    }

    .app-main {
        padding-top: var(--header-height);
        padding-bottom: var(--space-3xl);
    }

    .app-footer {
        margin-bottom: 0;
    }

    /* Hero bigger on desktop */
    .hero-bg {
        padding: var(--space-3xl) var(--space-2xl) var(--space-4xl);
    }

    .hero-section__title {
        font-size: var(--font-size-3xl);
    }

    /* Service grid 4 columns on desktop */
    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Quick links more columns */
    .quick-links {
        grid-template-columns: repeat(5, 1fr);
    }

    /* Content max-width centered */
    .page-container {
        padding: 0 var(--space-xl);
    }

    .sticky-cta {
        bottom: var(--space-base);
    }
}

@media (min-width: 1024px) {
    .hero-bg {
        padding: var(--space-4xl) var(--space-2xl) calc(var(--space-4xl) + var(--space-lg));
    }

    .hero-section__title {
        font-size: 2.75rem;
    }
}

/* ============================================================
   Status Hero
   ============================================================ */
.status-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-2xl) var(--space-base);
    border-radius: var(--radius-xl);
    text-align: center;
    margin-bottom: var(--space-base);
}

.status-hero--pending {
    background: #FFFBEB;
    border: 1.5px solid #FDE68A;
}

.status-hero--success {
    background: #F0FDF4;
    border: 1.5px solid #BBF7D0;
}

.status-hero--failed {
    background: #FEF2F2;
    border: 1.5px solid #FECACA;
}

.status-hero__icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-hero--pending .status-hero__icon-wrap { background: #FEF3C7; }
.status-hero--success .status-hero__icon-wrap { background: #DCFCE7; }
.status-hero--failed  .status-hero__icon-wrap { background: #FEE2E2; }

.status-hero__icon {
    font-size: 36px;
}

.status-hero--pending .status-hero__icon { color: #D97706; }
.status-hero--success .status-hero__icon { color: #16A34A; }
.status-hero--failed  .status-hero__icon { color: #DC2626; }

.status-hero__label {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.status-hero__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: 280px;
}

/* Spinner inside status hero */
.spinner--status {
    width: 36px;
    height: 36px;
    border: 3px solid #FDE68A;
    border-top-color: #D97706;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================================
   Filter Tabs
   ============================================================ */
.filter-tabs {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-base);
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
    flex-shrink: 0;
    padding: 10px var(--space-base);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    text-decoration: none;
    transition: all 0.15s;
    min-height: 44px;
}
.filter-tab--active {
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 10%, white);
    border-color: var(--color-primary);
}

/* ============================================================
   Transaction List
   ============================================================ */
.tx-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.tx-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-base);
}

.tx-card__left { flex-shrink: 0; }

.tx-card__icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-base);
    background: color-mix(in srgb, var(--color-primary) 10%, white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tx-card__icon {
    font-size: 20px;
    color: var(--color-primary);
}

.tx-card__body {
    flex: 1;
    min-width: 0;
}

.tx-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xs);
    margin-bottom: 2px;
}

.tx-card__type {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tx-card__target {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tx-card__meta {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: 1px;
}

.tx-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-xs);
}

.tx-card__total {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text);
}

.tx-card__date {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.tx-card__actions { flex-shrink: 0; }

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-base);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: background 0.15s;
}
.btn-icon:hover { background: var(--color-border); }

/* Status badges */
.tx-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}
.tx-badge--pending { background: #FEF3C7; color: #92400E; }
.tx-badge--success { background: #DCFCE7; color: #166534; }
.tx-badge--failed  { background: #FEE2E2; color: #991B1B; }

/* ============================================================
   Balance Card
   ============================================================ */
.balance-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary, var(--color-primary)));
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    color: #fff;
    margin-bottom: var(--space-xl);
    text-align: center;
}
.balance-card__label {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: var(--space-xs);
}
.balance-card__amount {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.balance-card__note {
    font-size: 0.78rem;
    opacity: 0.7;
    margin-top: var(--space-xs);
}

/* ============================================================
   Quick Action Grid
   ============================================================ */
.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: var(--space-base) var(--space-sm);
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
    min-height: 72px;
}
.quick-action-card:active {
    background: color-mix(in srgb, var(--color-primary) 6%, white);
    border-color: var(--color-primary);
}

.quick-action-card__icon {
    font-size: 24px;
    color: var(--color-primary);
}
.quick-action-card__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    line-height: 1.2;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: var(--space-base) var(--space-sm);
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
    min-height: 72px;
}
.quick-action-card:active {
    background: color-mix(in srgb, var(--color-primary) 6%, white);
    border-color: var(--color-primary);
}

.quick-action-card__icon {
    font-size: 24px;
    color: var(--color-primary);
}
.quick-action-card__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    line-height: 1.2;
}

/* ============================================================
   Favorite Chips (Dashboard)
   ============================================================ */
.fav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.fav-chip {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-base);
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: border-color 0.15s;
}
.fav-chip:active { border-color: var(--color-primary); }

.fav-chip__icon {
    font-size: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}
.fav-chip__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.fav-chip__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text);
}
.fav-chip__target {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   Suggestion Chips (Token PLN page)
   ============================================================ */
.suggestion-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.suggestion-chip {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-sm) var(--space-base);
    background: var(--color-surface-2);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    min-height: 52px;
}
.suggestion-chip:hover,
.suggestion-chip:focus {
    border-color: var(--color-primary);
    background: var(--color-primary-50);
}

.suggestion-chip__icon {
    font-size: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.suggestion-chip__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.suggestion-chip__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.suggestion-chip__number {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Compact empty state */
.empty-state--compact {
    padding: var(--space-lg) var(--space-base);
    gap: var(--space-xs);
}

.btn-icon--primary { color: var(--color-primary); }

/* ============================================================
   Favorit Full List (Favorit page)
   ============================================================ */
.fav-full-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.fav-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-base);
}

.fav-row__icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-base);
    background: color-mix(in srgb, var(--color-primary) 10%, white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fav-row__icon { font-size: 20px; color: var(--color-primary); }

.fav-row__body { flex: 1; min-width: 0; }

.fav-row__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fav-row__target {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
}

.fav-row__caption {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.fav-row__actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.btn-icon--danger { color: #DC2626; }

/* Save Favorit Details (Status page) */
.save-fav-details {
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.save-fav-summary {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-base);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
    cursor: pointer;
    list-style: none;
}
.save-fav-summary::-webkit-details-marker { display: none; }

.save-fav-form {
    padding: 0 var(--space-base) var(--space-base);
    border-top: 1px solid var(--color-border);
}

/* ============================================================
   Error Banner
   ============================================================ */
.error-banner {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: #FEF2F2;
    border-bottom: 2px solid #FECACA;
    padding: var(--space-sm) var(--space-base);
    position: sticky;
    top: 0;
    z-index: 200;
    animation: slideDown 0.2s ease;
}

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

.error-banner__icon {
    font-size: 18px;
    color: #DC2626;
    flex-shrink: 0;
}

.error-banner__text {
    flex: 1;
    font-size: 0.875rem;
    color: #991B1B;
    font-weight: 500;
}

.error-banner__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #991B1B;
    cursor: pointer;
    border-radius: var(--radius-base);
    flex-shrink: 0;
}
.error-banner__close:hover { background: #FEE2E2; }

/* Inline action link (used in status messages) */
.inline-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: inherit;
}
