/* Pastel Classless CSS Framework */

:root {
    --primary: #9B87C6;
    --primary-light: #C6B8E6;
    --text: #5A5A7D;
    --text-secondary: #8B8BA8;
    --bg: #FDF8F3;
    --bg-secondary: #F7E8E4;
    --border: #E8D4CC;
    --accent-pink: #F4C5D4;
    --accent-blue: #B4D4F7;
    --accent-green: #C9E4D4;
    --accent-yellow: #F7E4B4;
    --max-width: 800px;
}

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

html {
    font-size: 16px;
}

body {
    font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: linear-gradient(135deg, var(--bg) 0%, #FFF0EB 50%, #E8F4F8 100%);
}

.selector-container {
    background-color: var(--bg-secondary);
    border: 2px dashed var(--border);
    color: var(--text);
    border-radius: 12px;
}

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

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

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

.selector-container select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 197, 212, 0.3);
}

.status {
    background-color: var(--accent-pink);
    border-left-color: var(--primary);
    color: var(--text);
    border-radius: 8px;
}

.demo-content {
    background-color: var(--bg-secondary);
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 2rem 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    box-shadow: 0 8px 16px rgba(155, 135, 198, 0.1);
}

/* 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: 2.2rem;
    margin-top: 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(155, 135, 198, 0.2);
}

h2 {
    font-size: 1.6rem;
    border-bottom: 3px dashed var(--accent-pink);
    padding-bottom: 0.75rem;
}

h3 {
    font-size: 1.3rem;
    color: var(--accent-blue);
}

h4 { font-size: 1.15rem; color: var(--accent-green); }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

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

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

a:hover {
    color: var(--accent-blue);
    text-decoration: underline wavy;
    text-decoration-color: var(--accent-pink);
}

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

em, i {
    font-style: italic;
    color: #5A5A7D;
    font-weight: 500;
}

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

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

ul li::marker {
    color: var(--accent-yellow);
    font-size: 1.2em;
}

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;
    border: 2px solid var(--border);
    background-color: var(--bg-secondary);
    color: var(--text);
    margin: 0.75rem 0;
    transition: all 0.2s ease;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #FFF5F0;
    box-shadow: 0 0 0 3px rgba(244, 197, 212, 0.3);
}

select:hover {
    border-color: var(--primary-light);
    background-color: #FFF5F0;
}

button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-blue) 100%);
    color: white;
    border: 2px dashed var(--primary);
    cursor: pointer;
    margin: 0.75rem 0.5rem 0.75rem 0;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(244, 197, 212, 0.3);
    border-radius: 20px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(244, 197, 212, 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;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.1rem; }
}
