/* Neumorphic Classless CSS Framework */

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --text: #1f2937;
    --text-secondary: #6b7280;
    --bg: #f3f4f6;
    --bg-secondary: #ffffff;
    --surface: #e5e7eb;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-dark: rgba(0, 0, 0, 0.1);
    --max-width: 900px;
}

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

html {
    font-size: 16px;
}

body {
    font-family: Inter, Roboto, 'Helvetica Neue', 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);
    border-radius: 20px;
    box-shadow: 0 2px 8px var(--shadow-light),
                0 8px 24px var(--shadow-dark);
}

.selector-container h2 {
    color: var(--primary);
    border-bottom: none;
    padding-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.selector-container label {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
}

.selector-container select {
    background-color: var(--bg);
    color: var(--text);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    box-shadow: inset 0 2px 4px var(--shadow-light);
}

.selector-container select:focus {
    outline: none;
    box-shadow: inset 0 2px 4px var(--shadow-light),
                0 0 0 3px rgba(99, 102, 241, 0.1);
    background-color: var(--bg-secondary);
}

.status {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #f9fafb 100%);
    border-left: none;
    border-radius: 16px;
    color: var(--text);
    padding: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow-light),
                inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.status strong {
    color: var(--primary);
    font-weight: 700;
}

.status em {
    color: var(--text-secondary);
    font-style: italic;
}

.status small {
    color: var(--text-secondary);
}

.status a {
    color: var(--primary);
    border-bottom: 2px solid var(--primary-light);
}

.status a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.demo-content {
    background-color: var(--bg-secondary);
    border: none;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
    box-shadow: 0 2px 8px var(--shadow-light),
                0 8px 24px var(--shadow-dark);
}

/* 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: 2.2rem;
    margin-top: 0;
    color: var(--primary-dark);
}

h2 { font-size: 1.65rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 2px solid var(--primary-light);
    transition: all 0.3s ease;
    font-weight: 600;
}

a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

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

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

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

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

ul li::marker {
    color: var(--primary);
}

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

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

select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background-color: var(--bg);
    color: var(--text);
    margin: 0.75rem 0;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: inset 0 2px 4px var(--shadow-light);
}

select:focus {
    outline: none;
    background-color: var(--bg-secondary);
    box-shadow: inset 0 2px 4px var(--shadow-light),
                0 0 0 3px rgba(99, 102, 241, 0.1);
}

select:hover {
    background-color: var(--bg-secondary);
}

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

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

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

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

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

    .selector-container,
    .demo-content {
        padding: 1.5rem;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.15rem; }
}
