/* Glassomorphism Classless CSS Framework */

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --text: #0f172a;
    --text-secondary: #475569;
    --bg: #0f172a;
    --bg-secondary: #1e293b;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --max-width: 900px;
}

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

html {
    font-size: 16px;
}

body {
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f172a 0%, #1a0f3e 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.selector-container {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: #e2e8f0;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.selector-container label {
    color: #cbd5e1;
}

.selector-container select {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.selector-container select:focus {
    border-color: var(--accent);
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

.status {
    background: rgba(99, 102, 241, 0.1);
    border-left: 3px solid var(--primary);
    color: #cbd5e1;
    border-radius: 8px;
}

.demo-content {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 2rem 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

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: #cbd5e1;
}

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

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

strong, b {
    font-weight: 600;
    color: #e2e8f0;
}

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

small {
    font-size: 0.85rem;
    color: #94a3b8;
}

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

li {
    margin: 0.5rem 0;
    color: #cbd5e1;
}

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

button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    margin: 0.75rem 0.5rem 0.75rem 0;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

button:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #e2e8f0;
    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; }
}
