/* Material Design Classless CSS Framework */

:root {
    --primary: #1976d2;
    --primary-dark: #1565c0;
    --primary-light: #42a5f5;
    --secondary: #d32f2f;
    --accent: #ff6f00;
    --text: #212121;
    --text-secondary: #757575;
    --bg: #fafafa;
    --bg-secondary: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --max-width: 900px;
}

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

html {
    font-size: 16px;
}

body {
    font-family: Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--text);
    background-color: var(--bg);
}

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

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

.selector-container label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.selector-container select {
    background-color: var(--bg-secondary);
    color: var(--text);
    border: none;
    border-bottom: 2px solid var(--border);
    border-radius: 0;
    padding-bottom: 0.5rem;
}

.selector-container select:focus {
    border-bottom-color: var(--primary);
    outline: none;
    background-color: rgba(25, 118, 210, 0.04);
}

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

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

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

h1 {
    font-size: 2.125rem;
    font-weight: 300;
    margin-top: 0;
}

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

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

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

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

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

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

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

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

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

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

button {
    padding: 0.625rem 1rem;
    background-color: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    margin: 0.75rem 0.5rem 0.75rem 0;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 4px;
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

button:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

button:active {
    box-shadow: var(--shadow);
    transform: translateY(1px);
}

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

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

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

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

    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.1rem; }
}
