/* YUNUS ANALIZ GLOBAL LIGHT THEME V1 */

:root {
    color-scheme: light;
    --ya-bg: #f8fafc;
    --ya-surface: #ffffff;
    --ya-surface-soft: #f0fdf4;
    --ya-green: #168a53;
    --ya-green-dark: #116b40;
    --ya-green-light: #dcfce7;
    --ya-text: #1f2937;
    --ya-muted: #64748b;
    --ya-border: #e2e8f0;
    --ya-shadow: 0 8px 24px rgba(15,23,42,.05);
}

html {
    color-scheme: light;
}

body.ya-global-light {
    background: var(--ya-bg) !important;
    color: var(--ya-text) !important;
}

body.ya-global-light h1,
body.ya-global-light h2,
body.ya-global-light h3 {
    color: var(--ya-green-dark);
}

body.ya-global-light a {
    text-decoration-color: currentColor;
}

body.ya-global-light input,
body.ya-global-light select,
body.ya-global-light textarea {
    color-scheme: light;
}

body.ya-global-light input:focus,
body.ya-global-light select:focus,
body.ya-global-light textarea:focus {
    outline-color: var(--ya-green);
}

body.ya-global-light :focus-visible {
    outline: 2px solid var(--ya-green);
    outline-offset: 2px;
}

/* Reusable components for page-specific migration */

.ya-light-card {
    background: var(--ya-surface);
    color: var(--ya-text);
    border: 1px solid var(--ya-border);
    border-radius: 14px;
    box-shadow: var(--ya-shadow);
}

.ya-light-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 9px;
    background: var(--ya-green);
    border: 1px solid var(--ya-green);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.ya-light-button:hover {
    background: var(--ya-green-dark);
    border-color: var(--ya-green-dark);
    color: #ffffff;
}

.ya-light-muted {
    color: var(--ya-muted);
}

.ya-light-sidebar {
    background: var(--ya-surface);
    color: var(--ya-text);
    border-right: 1px solid var(--ya-border);
}

.ya-light-table {
    background: var(--ya-surface);
    color: var(--ya-text);
    border-collapse: collapse;
}

.ya-light-table th {
    background: var(--ya-surface-soft);
    color: var(--ya-green-dark);
}

.ya-light-table td {
    border-bottom: 1px solid var(--ya-border);
}

.ya-light-success {
    background: #ecfdf5;
    color: #047857;
}

.ya-light-danger {
    background: #fff1f2;
    color: #be123c;
}

.ya-light-warning {
    background: #fffbeb;
    color: #92400e;
}
