#weather-indicator {
    position: fixed;
    top: 1rem;
    left: 1.5rem;
    background: none;
    border: none;
    padding: 0;
    font-size: 1.5rem;
    z-index: 1000;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
}

#theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    padding: 0;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    line-height: 1;
}

#theme-toggle img {
    width: 24px;
    height: 24px;
    display: block;
}

.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.search-wrapper {
    width: 100%;
    max-width: 1400px;
}

.search-wrapper nav {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.search-wrapper nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-wrapper nav li i {
    margin-right: 0.15rem;
}

.search-wrapper nav a {
    color: var(--pico-color-grey-900);
}

[data-theme="dark"] .search-wrapper nav a {
    color: var(--pico-color-grey-100);
}

.search-wrapper input[type="search"] {
    max-width: 600px;
    margin: 0 auto;
    display: block;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.button-group button {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.links-grid article {
    min-width: 0;
    width: 100%;
}

.links-grid ul {
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.links-grid li {
    list-style-type: none;
    margin-bottom: 0.25rem;
}

.links-grid li ul {
    margin-left: 1.5rem;
    margin-top: 0.25rem;
}

.links-grid a {
    font-size: 0.875rem;
}

.links-grid hr {
    margin: 0.35rem 0;
}

.link-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.375rem;
}

#quote-container {
    margin-top: 0.5rem;
    margin-bottom: 0rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#quote-text {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-style: italic;
    text-align: left;
}

#quote-container footer {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Responsive navbar - hide icons on narrow screens */
@media (max-width: 768px) {
    .search-wrapper nav li i {
        display: none;
    }

    #weather-indicator {
        display: none;
    }

    .search-wrapper nav ul {
        gap: 0rem;
    }

    .search-wrapper nav li {
        padding: 0.25rem;
    }

    .search-wrapper nav a {
        font-size: 0.9rem;
    }
}
