/* Shared site styles - used by menu.php and main.php */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 6px;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.header h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header h4 {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.search-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e6ed;
    border-radius: 25px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.switch-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}

.switch-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-group label.switch {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid #667eea;
    border-radius: 20px;
    color: #667eea;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.switch-group input[type="radio"]:checked + label.switch {
    background: #667eea;
    color: #fff;
}

#results {
    list-style: none;
    margin-top: 12px;
    padding: 0;
    text-align: left;
}

#results li {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}

#results li:last-child {
    border-bottom: none;
}

.search-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.search-button {
    padding: 12px 28px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.search-note {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.search-note a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.search-note a:hover {
    text-decoration: underline;
}

.nav-lists {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    font-size: 13px;
    line-height: 1.8;
}

.nav-lists a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.nav-lists a:hover {
    text-decoration: underline;
}

.nav-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-item strong {
    display: block;
    color: #333;
    font-size: 15px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.decades-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.decades-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f2f3f5;
    border: 1px solid #e2e5ea;
    border-radius: 8px;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.decades-links a:hover {
    background: #e8f1ff;
    border-color: #b8d7ff;
    color: #1e5a9d;
}

.decades-links img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.menu-select-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.menu-select-form label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.menu-select-form select {
    width: 100%;
    max-width: 320px;
    padding: 10px 14px;
    border: 1px solid #e2e5ea;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
}

.menu-select-form select:focus {
    border-color: #667eea;
    outline: none;
}

.footer {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    color: #666;
    font-size: 13px;
}

.footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .header h1 {
        font-size: 24px;
    }

    .decades-links a {
        font-size: 12px;
        padding: 7px 10px;
    }
}
