/* Nordic Classless CSS Framework */

:root {
    --primary: #2e3440;
    --primary-light: #3b4252;
    --accent: #88c0d0;
    --accent-secondary: #81a1c1;
    --text: #2e3440;
    --text-secondary: #4c566a;
    --bg: #eceff4;
    --bg-secondary: #e5e9f0;
    --border: #d8dee9;
    --max-width: 900px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: system-ui, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
}

.selector-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
}

.selector-container h2 {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
}

.selector-container label {
    color: var(--text);
}

.selector-container select {
    background-color: #ffffff;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.selector-container select:focus {
    border-color: var(--accent);
    outline: none;
    background-color: #fafbfc;
}

.status {
    background-color: var(--bg-secondary);
    border-left: 3px solid var(--accent);
    color: var(--text);
    border-radius: 4px;
}

.demo-content {
    background-color: #ffffff;
    border: 1px solid var(--border);
    padding: 2rem 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    border-radius: 8px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin: 1.5rem 0 0.75rem;
    color: var(--primary);
}

h1 {
    font-size: 2rem;
    margin-top: 0;
}

h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; color: var(--accent); }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

strong, b {
    font-weight: 600;
    color: var(--text);
}

em, i {
    font-style: italic;
    color: var(--accent-secondary);
}

small {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Lists */
ul, ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

li {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

/* Forms */
select, button {
    font-family: inherit;
    font-size: 1rem;
}

button {
    padding: 0.75rem 1.5rem;
    background-color: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
    margin: 0.75rem 0.5rem 0.75rem 0;
    font-weight: 600;
    transition: background-color 0.2s ease;
    border-radius: 4px;
}

button:hover {
    background-color: var(--accent-secondary);
}

button:active {
    opacity: 0.9;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

/* Utilities */
[hidden] {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 1.5rem 1rem;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.1rem; }
}
