/* /Components/Layout/AccountBar.razor.rz.scp.css */
 .account-bar[b-llkm4f499d] { display: flex; align-items: center; justify-content: flex-end; gap: .65rem; flex-wrap: wrap; }
.account-bar input[b-llkm4f499d] { width: 155px; }
.account-bar button[b-llkm4f499d], .account-bar a[b-llkm4f499d] { white-space: nowrap; }
@media (max-width: 640px) { .account-bar[b-llkm4f499d] { justify-content: flex-start; } .account-bar input[b-llkm4f499d] { width: 135px; } }
/* /Components/Layout/MainLayout.razor.rz.scp.css */

/* ===== Nordic Neo-Retro Theme ===== */

.page[b-fekawvbbds] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(
        135deg,
        #f7f9f6 0%,
        #edf5f1 55%,
        #e4f0eb 100%
    );
}

/* ===== Main Content ===== */

main[b-fekawvbbds] {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.content[b-fekawvbbds] {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    padding: 20px 24px;
}

/* ===== Sidebar ===== */

.sidebar[b-fekawvbbds] {
    position: relative;
    background: linear-gradient(
        180deg,
        #263f47 0%,
        #304f54 55%,
        #3b615e 100%
    );
}

/* ===== Top Header ===== */

.top-row[b-fekawvbbds] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;

    min-height: 76px;
    padding: 14px 24px;
    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid #dce8e3;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    position: sticky;
    top: 0;
    z-index: 20;
}

/* ===== Search Bar ===== */

.header-search[b-fekawvbbds] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    max-width: 500px;

    background: #f7f9f6;
    border: 1px solid #d5e2dc;
    border-radius: 2px;

    padding: 5px 8px 5px 15px;
}

.search-icon[b-fekawvbbds] {
    color: #607f79;
    font-size: 24px;
    line-height: 1;
}

.header-search input[b-fekawvbbds] {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: #263f47;
    font-size: 14px;
}

.header-search input[b-fekawvbbds]::placeholder {
    color: #80958f;
}

.header-search:focus-within[b-fekawvbbds] {
    border-color: #89b8ae;
    box-shadow: 0 0 0 3px rgba(137, 184, 174, 0.16);
}

/* ===== Search Button ===== */

.search-btn[b-fekawvbbds] {
    height: 42px;
    padding: 0 20px;

    background: linear-gradient(
        180deg,
        #b8ded4 0%,
        #72b4a6 100%
    );

    color: #214d46;
    border: 1px solid #477d76;
    border-radius: 2px;
    box-shadow: 0 3px 0 #477d76;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;

    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.search-btn:not(:disabled):hover[b-fekawvbbds] {
    transform: translateY(-1px);
}

.search-btn:not(:disabled):active[b-fekawvbbds] {
    transform: translateY(2px);
    box-shadow: none;
}

.search-btn:disabled[b-fekawvbbds] {
    opacity: 1;
    cursor: not-allowed;
}

/* ===== Account Bar ===== */

/* AccountBar is a child component.
   ::deep allows styling elements inside it. */

.top-row[b-fekawvbbds]  .account-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.top-row[b-fekawvbbds]  .account-bar a {
    margin-left: 0;
    white-space: nowrap;
    text-decoration: none;
}

.top-row[b-fekawvbbds]  .account-bar a:hover {
    text-decoration: underline;
}

/* ===== Desktop Layout ===== */

@media (min-width: 641px) {
    .page[b-fekawvbbds] {
        flex-direction: column;
        min-height: 100vh;
    }

    .sidebar[b-fekawvbbds] {
        width: 100%;
        height: auto;
        flex: none;
    }

    main[b-fekawvbbds] {
        flex: 1;
        min-height: 0;
        height: auto;
        overflow: visible;
    }

    .content[b-fekawvbbds] {
        flex: 1;
        min-height: 0;
        overflow: visible;
    }
}

/* ===== Tablet ===== */

@media (max-width: 1100px) {
    .top-row[b-fekawvbbds] {
        gap: 12px;
    }

    .content[b-fekawvbbds] {
        padding: 16px;
    }
}

/* ===== Mobile ===== */

@media (max-width: 640.98px) {
    .top-row[b-fekawvbbds] {
        position: relative;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
    }

    .header-search[b-fekawvbbds] {
        max-width: none;
        width: 100%;
        box-sizing: border-box;
    }

    .top-row[b-fekawvbbds]  .account-bar {
        width: 100%;
        justify-content: flex-start;
    }

    .content[b-fekawvbbds] {
        padding: 12px;
    }
}

/* ===== Reduced Motion ===== */

@media (prefers-reduced-motion: reduce) {
    .search-btn[b-fekawvbbds] {
        transition: none;
    }
}

/* ===== Blazor Error UI ===== */

#blazor-error-ui[b-fekawvbbds] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-fekawvbbds] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}


/* ===== Horizontal Main Layout ===== */

@media (min-width: 641px) {
    .page[b-fekawvbbds] {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    main[b-fekawvbbds] {
        flex: 1;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .content[b-fekawvbbds] {
        overflow: visible;
    }
}

/* ===== Top Navbar ===== */

.top-row[b-fekawvbbds] {
    justify-content: space-between;
    gap: 24px;
    background: #263f47;
    border-bottom: 1px solid #477d76;
}

.main-navigation[b-fekawvbbds] {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

/* Account links on dark navbar */

.top-row[b-fekawvbbds]  .account-bar,
.top-row[b-fekawvbbds]  .account-bar a {
    color: #ffffff;
}

/* ===== Mobile ===== */

@media (max-width: 640.98px) {
    .top-row[b-fekawvbbds] {
        flex-direction: column;
        align-items: stretch;
    }

    .main-navigation[b-fekawvbbds] {
        width: 100%;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */

/* ===== VejrVille Top Navigation ===== */

.navigation-container[b-zswk0q6kaa] {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    min-width: 0;
}

/* Logo */

.vejrville-brand[b-zswk0q6kaa] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.vejrville-logo[b-zswk0q6kaa] {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.vejrville-brand:hover .vejrville-logo[b-zswk0q6kaa] {
    transform: scale(1.04);
}

/* Navigation */

.nav-scrollable[b-zswk0q6kaa] {
    display: flex;
    align-items: center;
    min-width: 0;
}

.nav-links[b-zswk0q6kaa] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.nav-item[b-zswk0q6kaa] {
    flex-shrink: 0;
}

.nav-item[b-zswk0q6kaa]  .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 14px;

    color: #e4eeeb;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 2px;

    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;

    transition: background-color 0.2s ease,
                color 0.2s ease;
}

.nav-item[b-zswk0q6kaa]  .nav-link:hover {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
}

.nav-item[b-zswk0q6kaa]  .nav-link.active {
    background: #89b8ae;
    color: #263f47;
    border-color: #b7d7cf;
    font-weight: 700;
}

.nav-item[b-zswk0q6kaa]  .nav-link:focus-visible {
    outline: 2px solid #f3c66a;
    outline-offset: 2px;
}

/* Hide mobile toggle on desktop */

.navbar-toggler[b-zswk0q6kaa],
.navbar-toggle-label[b-zswk0q6kaa] {
    display: none;
}

/* ===== Mobile Navigation ===== */

@media (max-width: 900px) {

    .navigation-container[b-zswk0q6kaa] {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
    }

    .vejrville-logo[b-zswk0q6kaa] {
        width: 135px;
    }

    .navbar-toggler[b-zswk0q6kaa] {
        position: absolute;
        opacity: 0;
        width: 1px;
        height: 1px;
    }

    .navbar-toggle-label[b-zswk0q6kaa] {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        padding: 9px;
        cursor: pointer;
        border: 1px solid rgba(255,255,255,0.25);
        border-radius: 3px;
    }

    .navbar-toggle-label span[b-zswk0q6kaa] {
        display: block;
        height: 2px;
        width: 100%;
        background: #ffffff;
    }

    .nav-scrollable[b-zswk0q6kaa] {
        display: none;
        width: 100%;
        flex-basis: 100%;
    }

    .navbar-toggler:checked ~ .nav-scrollable[b-zswk0q6kaa] {
        display: block;
    }

    .nav-links[b-zswk0q6kaa] {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px 0;
    }

    .nav-item[b-zswk0q6kaa]  .nav-link {
        justify-content: flex-start;
        width: 100%;
    }
}

/* ===== Reduced Motion ===== */

@media (prefers-reduced-motion: reduce) {
    .vejrville-logo[b-zswk0q6kaa],
    .nav-item[b-zswk0q6kaa]  .nav-link {
        transition: none;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-0ydk0eezj3],
.components-reconnect-repeated-attempt-visible[b-0ydk0eezj3],
.components-reconnect-failed-visible[b-0ydk0eezj3],
.components-pause-visible[b-0ydk0eezj3],
.components-resume-failed-visible[b-0ydk0eezj3],
.components-rejoining-animation[b-0ydk0eezj3] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-0ydk0eezj3],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-0ydk0eezj3],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-0ydk0eezj3],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-0ydk0eezj3],
#components-reconnect-modal.components-reconnect-retrying[b-0ydk0eezj3],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-0ydk0eezj3],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-0ydk0eezj3],
#components-reconnect-modal.components-reconnect-failed[b-0ydk0eezj3],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-0ydk0eezj3] {
    display: block;
}


#components-reconnect-modal[b-0ydk0eezj3] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-0ydk0eezj3 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-0ydk0eezj3 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-0ydk0eezj3 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-0ydk0eezj3]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-0ydk0eezj3 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-0ydk0eezj3 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-0ydk0eezj3 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-0ydk0eezj3 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-0ydk0eezj3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-0ydk0eezj3] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-0ydk0eezj3] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-0ydk0eezj3] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-0ydk0eezj3] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-0ydk0eezj3] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-0ydk0eezj3] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-0ydk0eezj3 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-0ydk0eezj3] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-0ydk0eezj3 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Account/Profile.razor.rz.scp.css */
/* ===== VejrVille Profile Header ===== */

.profile-header[b-i8z4tj5ar3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    padding: 24px 28px;
    margin-bottom: 24px;

    background: linear-gradient(
        135deg,
        #e4f0eb 0%,
        #f7f9f6 100%
    );

    border: 3px solid #263f47;
    border-radius: 4px;
    box-shadow: 6px 6px 0 #263f47;
}

.profile-subtitle[b-i8z4tj5ar3] {
    color: #477d76;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.profile-header h1[b-i8z4tj5ar3] {
    margin: 8px 0;
    color: #263f47;
    font-size: 2rem;
}

.profile-header p[b-i8z4tj5ar3] {
    margin: 0;
    color: #607f79;
}

.profile-weather-icon[b-i8z4tj5ar3] {
    font-size: 3.5rem;
}

@media (max-width: 640px) {
    .profile-header[b-i8z4tj5ar3] {
        padding: 18px;
    }

    .profile-weather-icon[b-i8z4tj5ar3] {
        font-size: 2.5rem;
    }
}


/* ===== Welcome Section ===== */

.profile-welcome[b-i8z4tj5ar3] {
    margin-bottom: 24px;
    padding: 20px 24px;
    background: #ffffff;
    border: 2px solid #d5e2dc;
    border-radius: 4px;
}

.profile-welcome h2[b-i8z4tj5ar3] {
    margin: 8px 0;
    color: #263f47;
    font-size: 1.5rem;
}

.profile-welcome p[b-i8z4tj5ar3] {
    margin: 0;
    color: #607f79;
}

/* ===== Featured City Weather ===== */

.featured-weather[b-i8z4tj5ar3] {
    margin-bottom: 32px;
    overflow: hidden;
    background: #ffffff;
    border: 3px solid #263f47;
    border-radius: 4px;
    box-shadow: 6px 6px 0 #263f47;
}

.featured-scene[b-i8z4tj5ar3] {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 280px;
    padding: 28px;

    color: #ffffff;
    background-color: #87ceeb;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
}

.featured-scene[b-i8z4tj5ar3]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background: linear-gradient(
        90deg,
        rgba(20, 35, 55, 0.78) 0%,
        rgba(20, 35, 55, 0.35) 50%,
        rgba(20, 35, 55, 0.05) 100%
    );
}

.featured-scene-content[b-i8z4tj5ar3] {
    position: relative;
    z-index: 1;
}

.featured-scene-content span[b-i8z4tj5ar3] {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.featured-scene-content h2[b-i8z4tj5ar3] {
    margin: 10px 0;
    font-size: 2.5rem;
    color: #ffffff;
}

.featured-scene-content p[b-i8z4tj5ar3] {
    margin: 0;
    color: #ffffff;
}

/* ===== Pixel Art City Themes ===== */

.featured-scene.copenhagen[b-i8z4tj5ar3] {
    background-image: url('/images/copenhagen-pixel.png');
}

.featured-scene.dtu-ballerup[b-i8z4tj5ar3] {
    background-image: url('/images/dtu-ballerup-pixel.png');
}

.featured-scene.dtu-lyngby[b-i8z4tj5ar3] {
    background-image: url('/images/dtu-lyngby-pixel.png');
}

.featured-scene.default-city[b-i8z4tj5ar3] {
    background-image: url('/images/default-city-pixel.png');
}

/* ===== Weather Details ===== */

.featured-details[b-i8z4tj5ar3] {
    padding: 20px;
}

/* ===== Favorites Table ===== */

.favorites-section[b-i8z4tj5ar3] {
    margin-top: 32px;
    margin-bottom: 32px;
}

.favorites-heading[b-i8z4tj5ar3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.favorites-heading h2[b-i8z4tj5ar3] {
    margin: 0;
    font-size: 1.4rem;
    color: #263f47;
}

.favorites-heading span[b-i8z4tj5ar3] {
    color: #607f79;
    font-size: 0.9rem;
}

.favorites-table-wrapper[b-i8z4tj5ar3] {
    overflow-x: auto;
    background: #ffffff;
    border: 2px solid #263f47;
    border-radius: 4px;
}

.favorites-table[b-i8z4tj5ar3] {
    width: 100%;
    border-collapse: collapse;
}

.favorites-table th[b-i8z4tj5ar3] {
    padding: 14px 16px;
    text-align: left;
    background: #e4f0eb;
    color: #263f47;
}

.favorites-table td[b-i8z4tj5ar3] {
    padding: 14px 16px;
    border-top: 1px solid #dce8e3;
}

.selected-row[b-i8z4tj5ar3] {
    background: #f0f8f4;
}

.city-select-btn[b-i8z4tj5ar3],
.select-btn[b-i8z4tj5ar3] {
    background: transparent;
    border: none;
    color: #305b58;
    font-weight: 700;
    cursor: pointer;
}

.city-select-btn:hover[b-i8z4tj5ar3],
.select-btn:hover[b-i8z4tj5ar3] {
    text-decoration: underline;
}

.selected-indicator[b-i8z4tj5ar3] {
    color: #477d76;
    font-weight: 700;
}

.remove-btn[b-i8z4tj5ar3] {
    padding: 6px 12px;
    border: 1px solid #a43c3c;
    border-radius: 3px;
    background: #ffffff;
    color: #a43c3c;
    cursor: pointer;
}

.remove-btn:hover:not(:disabled)[b-i8z4tj5ar3] {
    background: #fff0f0;
}

.remove-btn:disabled[b-i8z4tj5ar3] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Empty State ===== */

.favorites-empty[b-i8z4tj5ar3] {
    padding: 36px;
    background: #ffffff;
    border: 2px dashed #89b8ae;
    border-radius: 4px;
    text-align: center;
}

.favorites-empty h3[b-i8z4tj5ar3] {
    color: #263f47;
}

.find-city-link[b-i8z4tj5ar3] {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: #263f47;
    color: #ffffff;
    border-radius: 3px;
    text-decoration: none;
}

.find-city-link:hover[b-i8z4tj5ar3] {
    background: #3b615e;
    color: #ffffff;
}

/* ===== Responsive Design ===== */

@media (max-width: 700px) {
    .profile-welcome[b-i8z4tj5ar3] {
        padding: 16px;
    }

    .featured-scene[b-i8z4tj5ar3] {
        min-height: 200px;
        padding: 16px;
    }

    .featured-scene-content h2[b-i8z4tj5ar3] {
        font-size: 1.8rem;
    }

    .featured-details[b-i8z4tj5ar3] {
        padding: 12px;
    }

    .favorites-heading[b-i8z4tj5ar3] {
        flex-direction: column;
        align-items: flex-start;
    }

    .favorites-table th[b-i8z4tj5ar3],
    .favorites-table td[b-i8z4tj5ar3] {
        padding: 10px;
    }
}

/* ===== Two-Pane Dashboard ===== */

.dashboard-grid[b-i8z4tj5ar3] {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.dashboard-left[b-i8z4tj5ar3],
.dashboard-right[b-i8z4tj5ar3] {
    min-width: 0;
}

.dashboard-grid .featured-weather[b-i8z4tj5ar3] {
    margin-bottom: 0;
}

.dashboard-grid .featured-scene[b-i8z4tj5ar3] {
    min-height: 190px;
}

.dashboard-right[b-i8z4tj5ar3] {
    padding: 16px;
    background: white;
    border: 2px solid #263f47;
    border-radius: 4px;
    box-shadow: 5px 5px 0 #263f47;
}

.dashboard-right .favorites-section[b-i8z4tj5ar3] {
    margin: 0;
}

@media (max-width: 950px) {
    .dashboard-grid[b-i8z4tj5ar3] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */

.home-page[b-rgllmci9wr] {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 0 24px;

    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Pixel weather card */


/* ===== Main Pixel Weather Card ===== */

.weather-scene[b-rgllmci9wr] {
    position: relative;
    overflow: hidden;

    min-height: 320px;
    padding: 24px;

    border: 4px solid #263a59;
    border-radius: 4px;
    box-shadow: 8px 8px 0 #263a59;

    background-color: #87ceeb;
    color: #ffffff;

    isolation: isolate;
}

/* ===== Dynamic Time Filters ===== */


/* Morning - warm sunrise */
.weather-scene.morning .time-layer[b-rgllmci9wr] {
    background: linear-gradient(
        120deg,
        rgba(255, 158, 126, 0.36) 0%,
        rgba(255, 204, 160, 0.28) 45%,
        rgba(255, 231, 195, 0.12) 100%
    );
}

/* Day - bright and natural */
.weather-scene.day .time-layer[b-rgllmci9wr] {
    background: rgba(255, 245, 210, 0.04);
}

/* Evening - golden sunset */
.weather-scene.evening .time-layer[b-rgllmci9wr] {
    background: linear-gradient(
        120deg,
        rgba(245, 137, 75, 0.42),
        rgba(139, 81, 154, 0.3)
    );
}

/* Night - cool blue darkness */
.weather-scene.night .time-layer[b-rgllmci9wr] {
    background: linear-gradient(
        180deg,
        rgba(22, 52, 128, 0.76) 0%,
        rgba(16, 40, 105, 0.66) 50%,
        rgba(10, 24, 70, 0.62) 100%
    );
}

.weather-scene.night.cloudy .weather-layer[b-rgllmci9wr] {
    background: rgba(70, 95, 150, 0.24);
}

.weather-scene h2[b-rgllmci9wr],
.weather-scene p[b-rgllmci9wr] {
    position: relative;
    z-index: 4;
}


/* ===== Scene Layers ===== */

.scene-overlay[b-rgllmci9wr] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.time-layer[b-rgllmci9wr] {
    z-index: 1;
    transition: opacity 0.5s ease;
}

.weather-layer[b-rgllmci9wr] {
    z-index: 3;
}


.weather-scene.cloudy .weather-layer[b-rgllmci9wr] {
    background: rgba(95, 110, 130, 0.25);
}

.weather-scene.sunny .weather-layer[b-rgllmci9wr] {
    background: rgba(255, 225, 110, 0.12);
}

.weather-scene.rain .weather-layer[b-rgllmci9wr] {
    background:
        repeating-linear-gradient(
            110deg,
            transparent 0 12px,
            rgba(220, 240, 255, 0.6) 13px 15px,
            transparent 16px 30px
        );
    opacity: 0.5;
    animation: rain-fall-b-rgllmci9wr 0.5s linear infinite;
}

.weather-scene.snow .weather-layer[b-rgllmci9wr] {
    background-image:
        radial-gradient(white 2px, transparent 3px);
    background-size: 28px 28px;
    animation: snow-fall-b-rgllmci9wr 6s linear infinite;
}

.weather-scene.windy .weather-layer[b-rgllmci9wr] {
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0 35px,
            rgba(255,255,255,0.3) 36px 38px
        );
    animation: wind-move-b-rgllmci9wr 2s linear infinite;
}

@keyframes rain-fall-b-rgllmci9wr {
    from { background-position: 0 0; }
    to { background-position: -30px 60px; }
}

@keyframes snow-fall-b-rgllmci9wr {
    from { background-position: 0 0; }
    to { background-position: 20px 100px; }
}

@keyframes wind-move-b-rgllmci9wr {
    from { background-position: 0 0; }
    to { background-position: 100px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .weather-layer[b-rgllmci9wr] {
        animation: none !important;
    }
}

@media (max-width: 700px) {
    .home-page[b-rgllmci9wr] {
        padding: 16px;
    }

    .weather-scene[b-rgllmci9wr] {
        min-height: 260px;
        padding: 16px;
    }
}


/* Main weather information */

.weather-content[b-rgllmci9wr] {
    position: relative;
    z-index: 4;
    max-width: 340px;
}

.location-label[b-rgllmci9wr],
.weather-content h1[b-rgllmci9wr],
.main-temperature[b-rgllmci9wr],
.weather-description[b-rgllmci9wr] {
    position: relative;
    z-index: 3;
}

.weather-scene[b-rgllmci9wr]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(24, 39, 63, 0.55) 0%,
        rgba(24, 39, 63, 0.35) 38%,
        rgba(24, 39, 63, 0.12) 65%,
        rgba(24, 39, 63, 0.05) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.location-label[b-rgllmci9wr] {
    display: inline-block;
    margin-bottom: 14px;
    font-weight: 600;
}

.weather-content h1[b-rgllmci9wr] {
    font-size: 2rem;
    margin: 0;
}

.main-temperature[b-rgllmci9wr] {
    font-size: 4rem;
    font-weight: 800;
    margin: 12px 0;
}

.weather-description[b-rgllmci9wr] {
    text-transform: capitalize;
    font-size: 1.1rem;
}

/* Nearby cities */

.nearby-section[b-rgllmci9wr] {
    margin-top: 10px;
}

.section-heading[b-rgllmci9wr] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.section-heading h2[b-rgllmci9wr] {
    font-size: 1.5rem;
    margin: 0;
}

.section-heading span[b-rgllmci9wr] {
    color: #64748b;
}

.nearby-grid[b-rgllmci9wr] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.nearby-card[b-rgllmci9wr] {
    overflow: hidden;
    border: 3px solid #263a59;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 5px 5px 0 #263a59;
}

.city-scene[b-rgllmci9wr] {
    position: relative;
    height: 130px;
    overflow: hidden;
    background: linear-gradient(#6dbbed, #bce8ff);
}

.city-scene[b-rgllmci9wr]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20, 30, 48, 0.22),
        rgba(20, 30, 48, 0.04)
    );
    z-index: 1;
    pointer-events: none;
}

.nearby-card.cloudy .city-scene[b-rgllmci9wr] {
    filter: saturate(0.65);
}

.city-info[b-rgllmci9wr] {
    padding: 16px;
}

.city-info h3[b-rgllmci9wr] {
    font-size: 1.15rem;
    margin: 0;
}

.city-temperature[b-rgllmci9wr] {
    font-size: 2rem;
    font-weight: bold;
    margin: 10px 0;
}

.city-info span[b-rgllmci9wr] {
    color: #64748b;
    text-transform: capitalize;
}

/* ===== City themes ===== */

.weather-scene.dtu-ballerup[b-rgllmci9wr] {
    background-image: url('/images/dtu-ballerup-pixel.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.weather-scene.default-city[b-rgllmci9wr] {
    background-image: url('/images/default-city-pixel.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nearby-card.dtu-ballerup .city-scene[b-rgllmci9wr] {
    background-image: url('/images/dtu-ballerup-pixel.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nearby-card.dtu-lyngby .city-scene[b-rgllmci9wr] {
    background-image: url('/images/dtu-lyngby-pixel.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nearby-card.copenhagen .city-scene[b-rgllmci9wr] {
    background-image: url('/images/copenhagen-pixel.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nearby-card.default-city .city-scene[b-rgllmci9wr] {
    background-image: url('/images/default-city-pixel.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.search-container input[b-rgllmci9wr] {
    flex: 1;
    min-width: 0;
    padding: 12px;
    border: 2px solid #263a59;
    border-radius: 3px;
}

.search-container button[b-rgllmci9wr] {
    padding: 12px 22px;
    background: #263a59;
    color: white;
    border: none;
}

.search-container button:disabled[b-rgllmci9wr] {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 700px) {
    .nearby-grid[b-rgllmci9wr] {
        grid-template-columns: 1fr;
    }

    .section-heading[b-rgllmci9wr] {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-container[b-rgllmci9wr] {
        flex-direction: column;
    }
}
/* /Components/Pages/Weather.razor.rz.scp.css */
.map-container[b-civ4zaakdo] {
    width: 100%;
    max-width: 1000px;
    height: 650px;
    max-height: 75vh;
    margin-bottom: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* Markers are created by Leaflet in JS, so they need ::deep to pick up these scoped styles. */
.map-container[b-civ4zaakdo]  .temp-marker span {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.map-container[b-civ4zaakdo]  .station-name {
    padding: 0 4px;
    font-size: 0.65rem;
}

.map-legend[b-civ4zaakdo] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #555;
}

.legend-station[b-civ4zaakdo] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(90deg, rgb(0, 60, 255), rgb(255, 60, 0));
    border: 1px solid rgba(0, 0, 0, 0.35);
}

.time-controls[b-civ4zaakdo] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.time-controls input[b-civ4zaakdo] {
    width: auto;
}

.measured-at[b-civ4zaakdo] {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}
