body {
    background-color: #222222;
    color: #66cc66;
    font-family: monospace;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

body.sidebar-open { margin-left: 250px; }
body.sidebar-closed { margin-left: 0; }

.back-button {
    color: #66cc66;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 1rem;
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.container {
    background-color: #333333;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    text-align: center;
    max-width: 800px;
    width: 90%;
}

.restaurant-badge {
    display: inline-block;
    background-color: #1a3a1a;
    color: #88e888;
    border: 1px solid #66cc66;
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 0.9em;
    margin-bottom: 0.75rem;
}

h1 { margin-bottom: 1.5rem; }

.generate-btn {
    background-color: #66cc66;
    color: #222222;
    border: none;
    padding: 12px 28px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    font-family: monospace;
    margin-bottom: 0.75rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.generate-btn:hover { background-color: #88e888; }

.options-link {
    display: inline-block;
    background-color: #444;
    color: #66cc66;
    border: 1px solid #66cc66;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.options-link:hover {
    background-color: #555;
    color: #88e888;
    text-decoration: none;
}

.copy-btn {
    background-color: #444;
    color: #66cc66;
    border: 1px solid #66cc66;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-family: monospace;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background-color: #555;
    color: #88e888;
    border-color: #88e888;
}

.section {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #444;
    padding-bottom: 1.5rem;
    text-align: left;
}

.section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.section-header h2 { margin: 0; text-align: left; }

.step-note {
    font-size: 0.7em;
    color: #999;
    font-weight: normal;
}

.item-container {
    display: flex;
    justify-content: flex-start;
    min-height: 2em;
    padding-left: 10px;
}

.reroll-btn {
    background: none;
    color: #66cc66;
    border: 1px solid #66cc66;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.reroll-btn:hover { background-color: #444; border-color: #888; }

.result-single {
    font-size: 1.15em;
    color: #88e888;
    font-weight: bold;
    line-height: 2em;
}

.result-list {
    list-style: disc;
    margin: 0.25rem 0;
    padding-left: 1.5rem;
}

.result-list li {
    color: #88e888;
    font-size: 1.05em;
    margin: 0.3rem 0;
}

.result-empty {
    color: #888;
    font-style: italic;
    font-size: 0.95em;
}

a { color: #66cc66; text-decoration: underline; transition: color 0.3s ease; }
a:hover { color: #88e888; }

.about-content { text-align: center; padding: 1rem; }
.about-section { margin-top: 3rem; }
.about-section h2 { text-align: center; }

.main-container {
    max-width: 800px;
    width: 90%;
    background-color: #333333;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.category-title { text-align: center; margin-bottom: 1.5rem; }

.picker-name { font-size: 2rem; display: block; margin-bottom: 1rem; }
.picker-link { display: inline-block; margin-top: 0.5rem; padding: 0.6rem 1.4rem; background: #4caf50; color: #fff; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 1rem; transition: background 0.2s; }
.picker-link:hover { background: #66cc66; }
.picker-result .item-container { display: flex; flex-direction: column; align-items: center; padding: 1.5rem; }

.footer { margin-top: 2rem; text-align: center; padding: 1rem; width: 100%; }
.footer .nav-links a { margin: 0 0.75rem; color: #66cc66; text-decoration: none; }
.footer .nav-links a:hover { color: #88e888; }
.coffee-link { text-align: center; margin-top: 1rem; }

@media (max-width: 768px) {
    body.sidebar-open, body.sidebar-closed { margin-left: 0; }
    .container { width: 95%; padding: 1rem; }
    .about-content { padding: 0.5rem; }
    .main-container { width: 95%; padding: 1rem; }
}
