/* Nature Classless CSS Framework */

:root {
    --primary: #2D7A5C;
    --primary-light: #4A9D7D;
    --text: #1B3D2F;
    --text-secondary: #4A6B5D;
    --bg: #F5FAF8;
    --bg-secondary: #E8F3ED;
    --border: #C8DDD3;
    --accent-green: #6BAF8F;
    --accent-earth: #A67C52;
    --max-width: 800px;
}

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

html {
    font-size: 16px;
}

body {
    font-family: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg) 0%, #EBF5F0 100%);
    position: relative;
}

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

.selector-container h2 {
    color: var(--primary);
    border-bottom: 3px solid var(--accent-green);
    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: 6px;
}

.selector-container select:focus {
    border-color: var(--primary);
    outline: none;
    background-color: #F0F8F5;
    box-shadow: 0 0 0 2px rgba(45, 122, 92, 0.1);
}

.status {
    background-color: #E0EEE8;
    border-left-color: var(--accent-green);
    color: var(--text);
    border-radius: 4px;
}

.demo-content {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 6px;
    padding: 2rem 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(45, 122, 92, 0.1);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(106, 175, 143, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(45, 122, 92, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -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.1rem;
    margin-top: 0;
    font-weight: 700;
}

h1::before {
    content: '🌿 ';
}

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

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

h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

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

a {
    color: var(--primary-light);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

a:hover {
    color: var(--accent-green);
    border-bottom-color: var(--accent-green);
}

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

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

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

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

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

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

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

button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    cursor: pointer;
    margin: 0.75rem 0.5rem 0.75rem 0;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(45, 122, 92, 0.2);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 122, 92, 0.3);
}

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