/* Flat Design Classless CSS Framework */

:root {
    --primary: #3498db;
    --primary-dark: #2980b9;
    --secondary: #e74c3c;
    --accent: #2ecc71;
    --text: #2c3e50;
    --text-secondary: #7f8c8d;
    --bg: #ecf0f1;
    --bg-secondary: #ffffff;
    --border: #bdc3c7;
    --max-width: 900px;
}

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

html {
    font-size: 16px;
}

body {
    font-family: Optima, Candara, 'Noto Sans', source-sans-pro, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

.selector-container {
    background-color: var(--bg-secondary);
    border: none;
    color: var(--text);
    box-shadow: none;
}

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

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

.selector-container select {
    background-color: var(--bg-secondary);
    color: var(--text);
    border: 2px solid var(--primary);
    border-radius: 4px;
}

.selector-container select:focus {
    border-color: var(--primary-dark);
    outline: none;
    background-color: #f8f9fa;
}

.status {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary);
    color: var(--text);
    border-radius: 0;
}

.demo-content {
    background-color: var(--bg-secondary);
    border: none;
    padding: 2rem 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    box-shadow: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    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; }
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(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

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

em, i {
    font-style: italic;
    color: var(--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(--primary);
    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(--primary-dark);
}

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; }
}
