body {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Fallback za Tailwind CDN: lokalno ne generiše custom theme klase uvek pouzdano. */
.bg-background { background-color: #ffffff !important; }
.bg-card { background-color: #ffffff !important; }
.bg-primary { background-color: #0072d6 !important; }
.bg-primary-hover { background-color: #005fb8 !important; }
.bg-accent { background-color: #eaf4ff !important; }
.bg-muted { background-color: #f1f5f9 !important; }
.bg-surface { background-color: #f8fafc !important; }
.bg-surface-2 { background-color: #eef6ff !important; }
.bg-success { background-color: #12b76a !important; }
.bg-destructive { background-color: #dc2626 !important; }

.text-foreground { color: #0f172a !important; }
.text-primary { color: #0072d6 !important; }
.text-primary-foreground { color: #ffffff !important; }
.text-muted-foreground { color: #64748b !important; }
.text-destructive { color: #dc2626 !important; }

.border-border { border-color: #dbe3ee !important; }
.border-primary\/30 { border-color: rgb(0 114 214 / 0.3) !important; }
.border-success\/30 { border-color: rgb(18 183 106 / 0.3) !important; }
.bg-success\/10 { background-color: rgb(18 183 106 / 0.1) !important; }

.shadow-card {
    box-shadow: 0 1px 2px 0 rgb(15 23 42 / 0.04), 0 1px 3px 0 rgb(15 23 42 / 0.06) !important;
}

.shadow-elevated {
    box-shadow: 0 10px 30px -10px rgb(0 114 214 / 0.28) !important;
}

.from-primary { --tw-gradient-from: #0072d6 var(--tw-gradient-from-position) !important; --tw-gradient-to: rgb(0 114 214 / 0) var(--tw-gradient-to-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
.to-primary-hover { --tw-gradient-to: #005fb8 var(--tw-gradient-to-position) !important; }
.from-accent { --tw-gradient-from: #eaf4ff var(--tw-gradient-from-position) !important; --tw-gradient-to: rgb(234 244 255 / 0) var(--tw-gradient-to-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
.to-surface-2 { --tw-gradient-to: #eef6ff var(--tw-gradient-to-position) !important; }

.hover\:bg-primary-hover:hover { background-color: #005fb8 !important; }
.hover\:bg-accent:hover { background-color: #eaf4ff !important; }
.hover\:bg-primary:hover { background-color: #0072d6 !important; }
.hover\:text-primary:hover { color: #0072d6 !important; }
.hover\:text-foreground:hover { color: #0f172a !important; }
.hover\:text-primary-foreground:hover { color: #ffffff !important; }
.hover\:border-primary\/30:hover { border-color: rgb(0 114 214 / 0.3) !important; }

.ring-primary\/20 { --tw-ring-color: rgb(0 114 214 / 0.2) !important; }

.dp-listing-card {
    border-radius: 16px !important;
    border-color: #dbe3ee !important;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 2px 8px rgb(15 23 42 / 0.06) !important;
}

.dp-listing-card:hover {
    border-color: rgb(0 114 214 / 0.3) !important;
    box-shadow: 0 12px 28px rgb(15 23 42 / 0.10) !important;
}

.dp-badge {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.dp-badge-soft {
    background: #eaf4ff !important;
    color: #0f172a !important;
}

.dp-badge-urgent {
    background: #ef233c !important;
    box-shadow: 0 4px 10px rgb(239 35 60 / 0.22);
}

.dp-card-button {
    box-shadow: 0 2px 6px rgb(15 23 42 / 0.16) !important;
}

.dp-card-button:hover {
    box-shadow: 0 5px 14px rgb(15 23 42 / 0.18) !important;
}

.dp-category-card {
    min-height: 132px;
    border-radius: 16px !important;
    border-color: #dbe3ee !important;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 2px 8px rgb(15 23 42 / 0.06) !important;
}

.dp-category-card:hover {
    border-color: rgb(0 114 214 / 0.3) !important;
    box-shadow: 0 12px 28px rgb(15 23 42 / 0.10) !important;
}

.dp-category-icon {
    background: #dff0ff !important;
    color: #0072d6 !important;
}

.dp-category-card:hover .dp-category-icon {
    background: #0072d6 !important;
    color: #ffffff !important;
}

.account-type-card {
    min-height: 108px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    background: #ffffff;
    padding: 20px 22px;
    color: #0f172a;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.account-type-card strong,
.account-type-card small {
    display: block;
}

.account-type-card strong {
    font-size: 16px;
    line-height: 1.25;
}

.account-type-card small {
    margin-top: 4px;
    color: #475569;
    font-size: 12px;
}

.account-type-card svg {
    color: #64748b;
}

.account-type-card.active {
    border-color: #0072d6;
    background: #dff0ff;
    box-shadow: 0 0 0 1px #0072d6 inset;
}

.account-type-card.active svg {
    color: #0072d6;
}

h1, h2, h3, h4 {
    letter-spacing: -0.02em;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-dot-grid {
    background-image: radial-gradient(circle at 1px 1px, rgb(255 255 255 / 0.08) 1px, transparent 0);
    background-size: 24px 24px;
}

.form-field {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid oklch(0.92 0.01 250);
    background: white;
    padding: 0.75rem;
    font-size: 0.875rem;
    outline: none;
}

.form-field:focus {
    border-color: #0072d6;
    box-shadow: 0 0 0 3px rgb(0 114 214 / 0.14);
}

.field-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: oklch(0.22 0.04 250);
}
