/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-kebk5u9zr5] {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

main[b-kebk5u9zr5] {
    flex: 1;
}

.sidebar[b-kebk5u9zr5] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-kebk5u9zr5] {
    background-color: #030712;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-kebk5u9zr5]  a, .top-row[b-kebk5u9zr5]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-kebk5u9zr5]  a:hover, .top-row[b-kebk5u9zr5]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-kebk5u9zr5]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row[b-kebk5u9zr5] {
        justify-content: space-between;
    }

    .top-row[b-kebk5u9zr5]  a, .top-row[b-kebk5u9zr5]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-kebk5u9zr5] {
        flex-direction: row;
    }

    .sidebar[b-kebk5u9zr5] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-kebk5u9zr5] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-kebk5u9zr5]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-kebk5u9zr5], article[b-kebk5u9zr5] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .top-row a[b-kebk5u9zr5] {
        color: white !important;
    }
}

#blazor-error-ui[b-kebk5u9zr5] {
    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-kebk5u9zr5] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-sdp4jt5xlu] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: #cbd5e1;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #030712;
    border-radius: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23aaa' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.2s;
}

.navbar-toggler:checked[b-sdp4jt5xlu] {
    background-color: rgba(255, 255, 255, 0.08);
}

.top-row[b-sdp4jt5xlu] {
    min-height: 3.5rem;
    background-color: #030712;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.navbar-brand[b-sdp4jt5xlu] {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.navbar-brand:hover[b-sdp4jt5xlu] { color: #4ade80; text-decoration: none; }

.brand-icon[b-sdp4jt5xlu] { color: #4ade80; font-size: 1rem; }

.nav-scrollable[b-sdp4jt5xlu] {
    width: 250px;
    display: none;
    background-color: #030712;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    height: calc(100vh - 3.5rem);
    overflow-y: auto;
}

.navbar-toggler:checked ~ .nav-scrollable[b-sdp4jt5xlu] {
    display: block;
}

/* ---- Filter Panel ---- */

.filter-panel[b-sdp4jt5xlu] {
    display: flex;
    flex-direction: column;
    padding: 0 0 2rem 0;
}

.filter-section[b-sdp4jt5xlu] {
    padding: 1rem 1rem 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.filter-label[b-sdp4jt5xlu] {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #334155;
    margin-bottom: 0.6rem;
}

/* Search */
.search-wrapper[b-sdp4jt5xlu] {
    position: relative;
}

.search-icon[b-sdp4jt5xlu] {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #334155;
    font-size: 11px;
}

.filter-input[b-sdp4jt5xlu] {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    color: #f1f5f9;
    font-size: 12px;
    padding: 7px 10px 7px 30px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.filter-input[b-sdp4jt5xlu]::placeholder { color: #334155; }
.filter-input:focus[b-sdp4jt5xlu] { border-color: rgba(74,222,128,0.4); }

/* Checkboxes */
.checkbox-group[b-sdp4jt5xlu] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkbox-item[b-sdp4jt5xlu] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #94a3b8;
    cursor: pointer;
    padding: 3px 4px;
    border-radius: 4px;
    transition: background 0.15s;
    user-select: none;
}

.checkbox-item:hover[b-sdp4jt5xlu] { background: rgba(255,255,255,0.04); color: #f1f5f9; }

.checkbox-item input[type="checkbox"][b-sdp4jt5xlu] {
    display: none;
}

.checkbox-dot[b-sdp4jt5xlu] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.15s;
}

.checkbox-item:has(input:checked) .checkbox-dot[b-sdp4jt5xlu] { opacity: 1; }
.checkbox-item:has(input:checked)[b-sdp4jt5xlu] { color: #f1f5f9; }

/* All / None buttons */
.filter-actions[b-sdp4jt5xlu] {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.filter-action-btn[b-sdp4jt5xlu] {
    flex: 1;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    color: #64748b;
    font-size: 11px;
    padding: 4px 0;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.filter-action-btn:hover[b-sdp4jt5xlu] { background: rgba(255,255,255,0.08); color: #f1f5f9; }

/* Toggle */
.toggle-item[b-sdp4jt5xlu] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #94a3b8;
    cursor: pointer;
    user-select: none;
}

.toggle-item input[b-sdp4jt5xlu] { display: none; }

.toggle-track[b-sdp4jt5xlu] {
    width: 32px;
    height: 18px;
    background: rgba(255,255,255,0.08);
    border-radius: 9px;
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s;
}

.toggle-thumb[b-sdp4jt5xlu] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    background: #64748b;
    border-radius: 50%;
    transition: transform 0.2s, background 0.2s;
}

.toggle-item:has(input:checked) .toggle-track[b-sdp4jt5xlu] { background: rgba(74,222,128,0.2); }
.toggle-item:has(input:checked) .toggle-thumb[b-sdp4jt5xlu] { transform: translateX(14px); background: #4ade80; }
.toggle-item:has(input:checked)[b-sdp4jt5xlu] { color: #f1f5f9; }

/* Infrastructure layer toggles */
.layer-toggle-group[b-sdp4jt5xlu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.layer-toggle-label[b-sdp4jt5xlu] {
    display: flex;
    align-items: center;
    gap: 7px;
}

.layer-swatch[b-sdp4jt5xlu] {
    width: 18px;
    height: 3px;
    flex-shrink: 0;
    border-radius: 2px;
    opacity: 0.8;
}

.toggle-item:has(input:checked) .layer-swatch[b-sdp4jt5xlu] { opacity: 1; }

/* Reset */
.reset-btn[b-sdp4jt5xlu] {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    color: #475569;
    font-size: 12px;
    padding: 8px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.reset-btn:hover[b-sdp4jt5xlu] { background: rgba(255,255,255,0.06); color: #94a3b8; }

@media (min-width: 641px) {
    .navbar-toggler[b-sdp4jt5xlu] { display: none; }
    .nav-scrollable[b-sdp4jt5xlu] { display: block; }
}
/* /Components/Pages/Home.razor.rz.scp.css */
#visit-panel[b-w7r95wffqu] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(15, 20, 30, 0.92);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255,255,255,0.12);
    font-family: sans-serif;
    color: #fff;
    max-height: 220px;
    display: flex;
    flex-direction: column;
}

#visit-panel-header[b-w7r95wffqu] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #aaa;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}

#visit-panel-toggle[b-w7r95wffqu] {
    cursor: pointer;
    font-size: 10px;
    color: #666;
    user-select: none;
}

#visit-panel-body[b-w7r95wffqu] {
    overflow-y: auto;
    flex: 1;
}

.visit-empty[b-w7r95wffqu] {
    padding: 12px 14px;
    color: #555;
    font-size: 12px;
}

.visit-row[b-w7r95wffqu] {
    display: grid;
    grid-template-columns: 18px 1fr 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 12px;
    transition: background 0.2s;
}

.visit-row:hover[b-w7r95wffqu] { background: rgba(255,255,255,0.04); }
.visit-row-active[b-w7r95wffqu] { background: rgba(46, 204, 113, 0.06); }

.visit-dot[b-w7r95wffqu] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.visit-dot-active[b-w7r95wffqu] {
    background: #2ECC71;
    box-shadow: 0 0 6px #2ECC71;
    animation: pulse-b-w7r95wffqu 1.5s infinite;
}

.visit-dot-closed[b-w7r95wffqu] { background: #555; }

@keyframes pulse-b-w7r95wffqu {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.visit-vessel[b-w7r95wffqu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.visit-name[b-w7r95wffqu] {
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.visit-type[b-w7r95wffqu] { color: #777; font-size: 10px; }

.visit-farm[b-w7r95wffqu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.visit-farm-name[b-w7r95wffqu] { font-size: 12px; color: #F0C040; }
.visit-country[b-w7r95wffqu] { font-size: 10px; color: #666; }

.visit-time[b-w7r95wffqu] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    white-space: nowrap;
    color: #888;
    font-size: 11px;
}

.visit-duration[b-w7r95wffqu] {
    color: #aaa;
    font-weight: 600;
    font-size: 11px;
}
