/* Base Classless CSS - Common styles for all themes */

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

html {
    font-size: 16px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 3rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Selector Container - UI for theme selection */
.selector-container {
    width: 100%;
    max-width: 500px;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.selector-container h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.selector-container label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.selector-container select {
    width: 100%;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.status {
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    border-left: 4px solid;
    font-weight: 500;
    line-height: 1.6;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.status strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.status em {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-style: normal;
}

.status small {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Demo Content Card */
.demo-content {
    width: 100%;
    max-width: 800px;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.demo-content h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 600;
}

.demo-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.demo-content button {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
}

.demo-content ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

.demo-content li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

h1 { font-size: 2rem; }
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: 1rem;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

strong, b {
    font-weight: 600;
}

em, i {
    font-style: italic;
}

small {
    font-size: 0.85rem;
}

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

li {
    margin: 0.5rem 0;
}

/* Link to themes overview */
div[style*="text-align: center"] {
    width: 100%;
    max-width: 800px;
}

div[style*="text-align: center"] p {
    margin: 0;
}

div[style*="text-align: center"] a {
    display: inline-block;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

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

    .selector-container h2 {
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }

    .selector-container label {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }

    .selector-container select {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }

    .status {
        padding: 1rem;
        min-height: 70px;
        font-size: 0.85rem;
    }

    .status strong {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
    }

    .status em {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .status small {
        font-size: 0.75rem;
        margin-top: 0.15rem;
    }

    .demo-content h3 {
        margin-bottom: 0.75rem;
        font-size: 1.2rem;
    }

    .demo-content p {
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }

    .demo-content button {
        margin-bottom: 1rem;
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }

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