:root {
    --border-color: #E4E7EC;
    --border-color-dark: #334155;
    --card-bg: #FFFFFF;
    --card-bg-dark: #1E293B;
    --card-radius: 0.75rem;
    --ease-standard: 220ms cubic-bezier(0.2, 0, 0, 1);
    --text-color: #0F172A;
    --zel-product-color: #2563EB;
    --zel-red: #D64545;
    --ease-bounce: 450ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-decelerate: cubic-bezier(0, .8, .2, 1);
    --ease-emphasized: cubic-bezier(.2, 1, .2, 1);
    --ease-overshoot: 300ms cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: 220ms cubic-bezier(0.2, 0, 0, 1);
    --ease-spring: 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-body: 'Inter', system-ui, sans-serif;
    --font-brand: 'Montserrat', system-ui, sans-serif;
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --shadow: 0 4px 20px -4px rgba(23, 43, 77, 0.08);
    --shadow-lg: 0 20px 60px -16px rgba(23, 43, 77, 0.16);
    --shadow-md: 0 10px 40px -10px rgba(23, 43, 77, 0.12);
    --text-main: #0D1B2A;
    --text-muted: #64748b;
    --transition: 220ms cubic-bezier(0.2, 0, 0, 1);
    --zel-bg: #F8FAFC;
    --zel-bg-dark: #0B1220;
    --zel-border: rgba(226, 232, 240, 0.8);
    --zel-border-dark: rgba(51, 65, 85, 0.8);
    --zel-card: #FFFFFF;
    --zel-card-dark: #1E293B;
    --zel-danger: #D64545;
    --zel-deep: #0D1B2A;
    --zel-green: #22C55E;
    --zel-mint: #5ED6BF;
    --zel-muted: #64748B;
    --zel-muted-dark: #94A3B8;
    --zel-pale: #DDF3EF;
    --zel-primary: #2563EB;
    --zel-primary-dark: #1D4ED8;
    --zel-success: #22C55E;
    --zel-teal: #14B8A6;
    --zel-teal-light: #5eead4;
    --zel-text: #0F172A;
    --zel-text-dark: #E2E8F0;
    --zel-warning: #D99A1E;
}



/* Compatibility classes (missing from system.css) */


@font-face {

    font-family: 'Montserrat';
    font-weight: 400 800;
    font-display: swap;
    src: url(fonts/montserrat-latin.woff2) format('woff2');

}

@font-face {

    font-family: 'Inter';
    font-weight: 400 700;
    font-display: swap;
    src: url(fonts/inter-latin.woff2) format('woff2');

}

.api-header {

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding: 1rem 1.5rem;

}

.api-header .inner {

    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.zelanda-brand {
 display: inline-flex; align-items: center; gap: 0.6rem; 
}

.zelanda-brand img {
 height: 2.5rem; width: 2.5rem; flex-shrink: 0; 
}

.zelanda-brand .wordmark {

    display: flex; flex-direction: column; line-height: 1.15; text-align: left;

}

.zelanda-brand .wordmark .title {

    font-family: var(--font-brand);
    font-weight: 700; font-size: 1.35rem;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--zel-deep);

}

.zelanda-brand .wordmark .slogan {

    font-family: var(--font-brand);
    font-weight: 400; font-size: 0.72rem;
    color: var(--zel-teal); margin-top: 0.15rem;

}

.api-header .product {

    font-family: var(--font-brand);
    font-size: 0.75rem; font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.08em;

}

.api-header .hub-nav button {

    color: #334155;

}

.api-header .hub-nav button:hover {

    color: var(--zel-primary);

}

.api-header .btn {

    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);

}

.api-header .btn.outline {

    background: rgba(239, 246, 255, 0.95);
    border-color: var(--zel-primary);
    color: var(--zel-primary-dark);

}

.api-header .btn.outline:hover {

    background: rgba(219, 234, 254, 0.98);
    border-color: var(--zel-primary-dark);
    color: #1e40af;

}

.api-main {
 flex: 1; padding: 2rem 1.5rem; 
}

.api-main .inner {
 max-width: 1100px; margin: 0 auto; 
}

.api-footer {

    background: var(--zel-deep);
    color: #9AA4B2;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.875rem;

}

.api-footer a {
 color: #fff; text-decoration: none; 
}

.badge.info {
 background: #DBEAFE; color: #1E40AF; 
}

.auth-split-side .btn.outline, .auth-glass .btn.outline, .auth-split-side .btn.outline:hover, .auth-glass .btn.outline:hover {

    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.5);

}

.auth-split-side .btn.outline:hover, .auth-glass .btn.outline:hover {

    background: rgba(255,255,255,0.15);
    border-color: #fff;

}

table.data {

    width: 100%; border-collapse: collapse; font-size: 0.85rem;

}

table.data th, table.data td {

    text-align: left; padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #EEF2F6;

}

table.data th {

    font-family: var(--font-brand);
    font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--text-muted);

}

code.mono {

    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.8rem; background: #F1F5F9;
    padding: 0.1rem 0.35rem; border-radius: 0.3rem;

}

.gradient-teal {
 background: linear-gradient(135deg, var(--zel-primary) 0%, var(--zel-teal) 60%, var(--zel-green) 100%); 
}

.gradient-hero {
 background: linear-gradient(135deg, var(--zel-deep) 0%, var(--zel-primary) 60%, var(--zel-teal) 100%); 
}

.animate-fade-in {
 animation: fadeIn 0.5s var(--ease-emphasized) both; 
}

.animate-slide-up {
 animation: slideUp 0.5s var(--ease-decelerate) both; 
}

.animate-scale-in {
 animation: scaleIn 0.4s var(--ease-emphasized) both; 
}

.animate-spin {
 animation: spin 1s linear infinite; 
}

@keyframes fadeIn {

    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }

}

@keyframes slideUp {

    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }

}

@keyframes scaleIn {

    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }

}

@keyframes spin {

    to { transform: rotate(360deg); }

}

@keyframes float {

    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, -20px); }

}

.form-group {
 margin-bottom: 1.25rem; 
}

.form-label {

    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 0.4rem;

}

.input-brand {

    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.6rem;
    border: 1.5px solid #E2E8F0;
    background: #fff;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: border-color 0.2s var(--ease-standard), box-shadow 0.2s var(--ease-standard);

}

.input-brand:focus {

    outline: none;
    border-color: var(--zel-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);

}

.input-brand::placeholder {
 color: #94a3b8; 
}

.login-logo {

    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(37, 99, 235, 0.2));

}

.error-toast {

    background: #FEE2E2;
    color: #991B1B;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--zel-red, #C62533);

}

.auth-split-wrap {

    display: flex;
    min-height: 100vh;
    width: 100%;

}

.auth-split-side {

    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--zel-deep) 0%, var(--zel-primary) 50%, var(--zel-teal) 100%);
    color: #fff;

}

.auth-split-form {

    width: 50%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: transparent;

}

.auth-form-inner {
 width: 100%; max-width: 420px; 
}

.auth-split-wrap {
 flex-direction: column; 
}

.auth-split-side {
 width: 100%; padding: 2rem 1.5rem; display: none; 
}

.auth-split-form {
 width: 100%; 
}

@media (min-width: 1025px) {
.auth-split-wrap {
 flex-direction: row; 
}
.auth-split-side {
 width: 50%; padding: 3rem; display: flex; 
}
.auth-split-form {
 width: 50%; 
}
}

.auth-glow {

    position: absolute;
    width: 70%;
    height: 70%;
    background: rgba(255, 255, 255, 0.10);
    filter: blur(64px);
    border-radius: 9999px;
    animation: float 12s ease-in-out infinite alternate;

}

.auth-side-content {

    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.8s var(--ease-emphasized) forwards;

}

.auth-side-brand {

    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;

}

.auth-side-logo {
 width: 3.5rem; height: 3.5rem; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.2)); 
}

.auth-side-title {

    display: block;
    font-family: var(--font-brand);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;

}

.auth-side-subtitle {

    display: block;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);

}

.auth-glass {

    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 1rem;
    backdrop-filter: blur(8px);
    padding: 1rem;
    margin-bottom: 1.5rem;

}

.auth-prompt-dot {

    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.20);
    border-radius: 999px;
    font-weight: 700;

}

.cursor-blink {

    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: currentColor;
    margin-left: 3px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;

}

@keyframes blink {
 0%, 100% { opacity: 1; } 50% { opacity: 0; } 
}

.auth-demo-grid {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;

}

.auth-demo-card {

    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 1rem;
    padding: 1rem;

}

.auth-demo-card.wide {
 grid-column: 1 / -1; 
}

.auth-demo-label {

    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.60);
    margin: 0 0 0.25rem;

}

.auth-demo-value {
 font-size: 1.75rem; font-weight: 700; margin: 0; 
}

.auth-demo-trend {
 font-size: 0.8rem; margin: 0.25rem 0 0; 
}

.dot-emerald {
 width: 0.5rem; height: 0.5rem; border-radius: 999px; background: #22C55E; display: inline-block; margin-right: 0.35rem; 
}

.dot-sky {
 width: 0.5rem; height: 0.5rem; border-radius: 999px; background: #38BDF8; display: inline-block; margin-right: 0.35rem; 
}

.auth-sparkline {

    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 2rem;
    margin-top: 0.5rem;

}

.auth-sparkline span {

    flex: 1;
    border-radius: 2px;
    background: rgba(255,255,255,0.5);

}

.auth-side-footer {

    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.50);

}

.auth-heading {
 text-align: center; margin-bottom: 1.5rem; 
}

.auth-heading h1 {
 font-family: var(--font-brand); font-size: 1.75rem; margin: 0 0 0.25rem; color: var(--zel-deep); 
}

.auth-heading p {
 margin: 0; color: var(--text-muted); font-size: 0.9rem; 
}

.toggle-password {

    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.25rem;

}

.toggle-password:hover {
 color: var(--zel-deep); 
}

.auth-extras {

    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.85rem;

}

.auth-extras a {
 color: var(--text-muted); text-decoration: none; 
}

.auth-extras a:hover {
 color: var(--zel-primary); text-decoration: underline; 
}

.legal-content {
 color: #334155; line-height: 1.7; 
}

.legal-content h2 {

    font-family: var(--font-brand);
    font-size: 1.1rem;
    color: var(--zel-deep);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;

}

.legal-content p {
 margin-bottom: 0.75rem; 
}

.api-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(255,255,255,.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--zel-primary);
    font-size: 2.5rem;
}

html.dark .api-loader {
    background: rgba(15,23,42,.92);
}

.api-loader[hidden] {
    display: none !important;
}

.api-loader p {
    margin-top: 1rem;
    font-family: var(--font-brand);
    color: var(--text-main);
    font-size: 0.9rem;
}