/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-zds0nxb0mw] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-zds0nxb0mw] {
    flex: 1;
}

.sidebar[b-zds0nxb0mw] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-zds0nxb0mw] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-zds0nxb0mw]  a, .top-row[b-zds0nxb0mw]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-zds0nxb0mw]  a:hover, .top-row[b-zds0nxb0mw]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-zds0nxb0mw]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-zds0nxb0mw] {
        justify-content: space-between;
    }

    .top-row[b-zds0nxb0mw]  a, .top-row[b-zds0nxb0mw]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-zds0nxb0mw] {
        flex-direction: row;
    }

    .sidebar[b-zds0nxb0mw] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-zds0nxb0mw] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-zds0nxb0mw]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-zds0nxb0mw], article[b-zds0nxb0mw] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-xlilxtfvk6] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-xlilxtfvk6] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-xlilxtfvk6] {
    font-size: 1.1rem;
}

.bi[b-xlilxtfvk6] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-xlilxtfvk6] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-xlilxtfvk6] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-xlilxtfvk6] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-xlilxtfvk6] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-xlilxtfvk6] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-xlilxtfvk6] {
        padding-bottom: 1rem;
    }

    .nav-item[b-xlilxtfvk6]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-xlilxtfvk6]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-xlilxtfvk6]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-xlilxtfvk6] {
        display: none;
    }

    .collapse[b-xlilxtfvk6] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-xlilxtfvk6] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/DiveCapture.razor.rz.scp.css */
/* Dive Capture Page Styles - Optimized for underwater use with waterproof case */

.dive-capture-container[b-d9n9d75up7] {
    min-height: 100vh;
    padding: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Pre-Dive Screen */
.dive-capture-pre-dive[b-d9n9d75up7] {
    padding: 1rem 0.5rem;
}

.dive-capture-site-selector[b-d9n9d75up7] {
    margin-top: 1.5rem;
}

.dive-capture-permissions[b-d9n9d75up7] {
    background: var(--proteus-surface);
    border: 1px solid var(--proteus-border);
    border-radius: 8px;
    padding: 0.75rem;
}

.permission-status[b-d9n9d75up7] {
    padding: 0.25rem 0;
    font-size: 0.9rem;
}

.dive-capture-start-btn[b-d9n9d75up7] {
    font-size: 1.25rem;
    padding: 0.75rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

/* Active Dive Screen */
.dive-capture-active[b-d9n9d75up7] {
    padding-bottom: 1rem;
}

.dive-capture-session-header[b-d9n9d75up7] {
    background: var(--proteus-surface-2);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--proteus-border);
}

.session-info[b-d9n9d75up7] {
    display: flex;
    justify-content: space-around;
    font-size: 1rem;
    font-weight: 600;
}

.session-timer[b-d9n9d75up7] {
    color: var(--proteus-accent);
}

.session-points[b-d9n9d75up7] {
    color: var(--proteus-success);
}

/* Form Styling */
.dive-capture-form[b-d9n9d75up7] {
    padding: 0.25rem;
}

.point-title[b-d9n9d75up7] {
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--proteus-accent);
}

.form-group-dive[b-d9n9d75up7] {
    background: var(--proteus-surface);
    border: 2px solid var(--proteus-border);
    border-radius: 12px;
    padding: 0.75rem;
}

.dive-label[b-d9n9d75up7] {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--proteus-text);
    margin-bottom: 0.5rem;
    display: block;
}

/* Manual Heading Input */
.manual-heading-input[b-d9n9d75up7] {
    margin-top: 0.5rem;
}

.form-label-sm[b-d9n9d75up7] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--proteus-muted);
    display: block;
    margin-bottom: 0.25rem;
}

/* Compass Display */
.heading-layout[b-d9n9d75up7] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.compass-display[b-d9n9d75up7] {
    flex: 1;
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: var(--proteus-bg);
    border-radius: 8px;
}

.compass-btn[b-d9n9d75up7] {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid var(--proteus-accent);
    background: var(--proteus-accent);
    color: white;
}

.compass-btn:hover:not(:disabled)[b-d9n9d75up7] {
    background: var(--proteus-accent);
    border-color: var(--proteus-accent);
    opacity: 0.9;
}

.compass-btn:disabled[b-d9n9d75up7] {
    opacity: 0.6;
}

.heading-value[b-d9n9d75up7] {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    color: var(--proteus-accent);
}

/* Input Fields */
.dive-input[b-d9n9d75up7] {
    font-size: 1.5rem !important;
    padding: 0.75rem !important;
    text-align: center;
    font-weight: 600;
    border: 2px solid var(--proteus-border);
    background: var(--proteus-bg);
    color: var(--proteus-text);
    border-radius: 8px;
}

.dive-input:focus[b-d9n9d75up7] {
    border-color: var(--proteus-accent);
    box-shadow: 0 0 0 0.2rem rgba(0, 180, 216, 0.25);
    background: var(--proteus-bg);
    color: var(--proteus-text);
}

/* Buttons - Large touch targets */
.dive-capture-save-btn[b-d9n9d75up7] {
    font-size: 1.25rem;
    padding: 1rem;
    font-weight: 700;
    min-height: 60px;
}

.btn-lg[b-d9n9d75up7] {
    min-height: 50px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Last Points Summary */
.last-points[b-d9n9d75up7] {
    margin-top: 1.5rem;
    padding: 0.75rem;
    background: var(--proteus-surface);
    border: 1px solid var(--proteus-border);
    border-radius: 8px;
}

.last-points h6[b-d9n9d75up7] {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--proteus-muted);
    font-size: 0.85rem;
}

.last-point-item[b-d9n9d75up7] {
    padding: 0.4rem;
    font-size: 0.85rem;
    color: var(--proteus-text);
    border-bottom: 1px solid var(--proteus-border);
}

.last-point-item:last-child[b-d9n9d75up7] {
    border-bottom: none;
}

/* Save Success Flash */
.save-flash[b-d9n9d75up7] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 167, 69, 0.3);
    animation: flashFade-b-d9n9d75up7 0.3s ease-out;
    pointer-events: none;
    z-index: 9999;
}

@keyframes flashFade-b-d9n9d75up7 {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Error Messages */
.text-danger[b-d9n9d75up7] {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Prevent text selection and zoom */
.dive-capture-container *[b-d9n9d75up7] {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.dive-capture-container input[b-d9n9d75up7] {
    -webkit-user-select: text;
    user-select: text;
}

/* High contrast for underwater visibility */
@media (prefers-contrast: high) {
    .dive-input[b-d9n9d75up7] {
        border-width: 3px;
    }

    .heading-value[b-d9n9d75up7] {
        text-shadow: 0 0 10px currentColor;
    }
}

/* Responsive adjustments for small screens (iPhone SE, 8, etc.) */
@media (max-width: 375px) and (max-height: 667px) {
    .dive-capture-container[b-d9n9d75up7] {
        padding: 0.5rem;
    }

    .dive-capture-session-header[b-d9n9d75up7] {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .session-info[b-d9n9d75up7] {
        font-size: 0.9rem;
    }

    .point-title[b-d9n9d75up7] {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .form-group-dive[b-d9n9d75up7] {
        padding: 0.6rem;
        margin-bottom: 0.6rem;
    }

    .dive-label[b-d9n9d75up7] {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }

    .compass-display[b-d9n9d75up7] {
        padding: 0.5rem;
    }

    .compass-btn[b-d9n9d75up7] {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .heading-value[b-d9n9d75up7] {
        font-size: 2rem;
    }

    .dive-input[b-d9n9d75up7] {
        font-size: 1.25rem !important;
        padding: 0.6rem !important;
    }

    .btn-lg[b-d9n9d75up7] {
        min-height: 44px;
        font-size: 1rem;
        padding: 0.5rem;
    }

    .dive-capture-save-btn[b-d9n9d75up7] {
        font-size: 1.1rem;
        padding: 0.75rem;
        min-height: 50px;
    }

    .last-points[b-d9n9d75up7] {
        margin-top: 1rem;
        padding: 0.5rem;
    }

    .form-label-sm[b-d9n9d75up7] {
        font-size: 0.75rem;
    }
}

/* Active button state - tactile feedback */
.btn:active[b-d9n9d75up7] {
    transform: scale(0.98);
    transition: transform 0.1s;
}

/* Loading state */
.btn:disabled[b-d9n9d75up7] {
    opacity: 0.6;
    cursor: not-allowed;
}
