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

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

.sidebar[b-p8n4fhnufx] {
    background-image: linear-gradient(180deg, #0ea5e9 0%, #0369a1 100%);
}

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

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

    article[b-p8n4fhnufx] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

.site-footer[b-p8n4fhnufx] {
    border-top: 1px solid #dee2e6;
    margin-top: 2rem;
}

.footer-avatar[b-p8n4fhnufx] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.footer-name[b-p8n4fhnufx] {
    font-weight: 600;
    font-size: 1rem;
}

.footer-bio[b-p8n4fhnufx] {
    margin-top: 0.1rem;
}

.footer-link[b-p8n4fhnufx] {
    color: inherit;
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-link:hover[b-p8n4fhnufx] {
    text-decoration: underline;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-joi1htrgzt] {
    background-color: rgba(255, 255, 255, 0.1);
}

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

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

.bi[b-joi1htrgzt] {
    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-joi1htrgzt] {
    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-joi1htrgzt] {
    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-joi1htrgzt] {
    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");
}

.bi-music-note-nav-menu[b-joi1htrgzt] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M9 13c0 1.105-1.12 2-2.5 2S4 14.105 4 13s1.12-2 2.5-2 2.5.895 2.5 2z'/%3E%3Cpath fill-rule='evenodd' d='M9 3v10H8V3h1z'/%3E%3Cpath d='M8 2.82a1 1 0 0 1 .804-.98l3-.6A1 1 0 0 1 13 2.22V4L8 5V2.82z'/%3E%3C/svg%3E");
}

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

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

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

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

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

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

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

    .collapse[b-joi1htrgzt] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-joi1htrgzt] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/BpmTapper.razor.rz.scp.css */
.tap-bpm-page[b-7lbtlpdh45] {
    display: flex;
    flex-direction: column;
}

.page-header[b-7lbtlpdh45] {
    padding: 0.75rem 1rem 0;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

.page-title[b-7lbtlpdh45] {
    font-size: 1.875rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    letter-spacing: -0.5px;
}

.page-desc[b-7lbtlpdh45] {
    font-size: 0.85rem;
    margin: 0.2rem 0 0.5rem;
}

.controls-section[b-7lbtlpdh45] {
    padding-top: 1rem;
}

.bpm-display-area[b-7lbtlpdh45] {
    padding-bottom: 0.5rem;
}

.bpm-value[b-7lbtlpdh45] {
    font-size: clamp(4rem, 20vw, 7rem);
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -2px;
}

.bpm-label[b-7lbtlpdh45] {
    font-size: 1.25rem;
    color: var(--bs-secondary, #6c757d);
    font-weight: 500;
    margin-top: 0.25rem;
}

.avg-label-section[b-7lbtlpdh45] {
    padding: 0.4rem 1rem 0;
    min-height: 1.4rem;
}

.slider-wrapper[b-7lbtlpdh45] {
    display: flex;
    gap: 4px;
    padding: 0.25rem 1rem 0;
}

.slider-spacer[b-7lbtlpdh45] {
    min-width: 2rem;
    flex-shrink: 0;
}

.slider-inner[b-7lbtlpdh45] {
    flex: 1;
    min-width: 0;
    padding-left: 0.5rem;
}

.tap-section[b-7lbtlpdh45] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 1rem;
}

.tap-button[b-7lbtlpdh45] {
    width: min(70vw, 260px);
    height: min(70vw, 260px);
    border-radius: 50%;
    background-color: #0d6efd;
    color: #fff;
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    font-weight: 700;
    border: none;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 4px 20px rgba(13, 110, 253, 0.35);
    position: relative;
}

.tap-text[b-7lbtlpdh45] {
    position: relative;
    z-index: 1;
}

.tap-button.tap-anim[b-7lbtlpdh45] {
    animation: tap-bounce-b-7lbtlpdh45 0.23s ease-out;
}

@keyframes tap-bounce-b-7lbtlpdh45 {
    0%   { transform: scale(1); }
    20%  { transform: scale(0.76); }
    100% { transform: scale(1); }
}

.ripple[b-7lbtlpdh45] {
    position: absolute;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(13, 110, 253, 0.45);
    transform: scale(1);
    transform-origin: center;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.ripple.active[b-7lbtlpdh45] {
    animation: ripple-expand-b-7lbtlpdh45 0.184s ease-out 46ms forwards;
}

@keyframes ripple-expand-b-7lbtlpdh45 {
    from { transform: scale(1); opacity: 1; }
    to   { transform: scale(1.5); opacity: 0; }
}

.reset-section[b-7lbtlpdh45] {
    display: flex;
    justify-content: center;
    padding: 0.5rem 1rem 1rem;
}

.reset-button[b-7lbtlpdh45] {
    width: min(70vw, 260px);
    height: 3rem;
    border-radius: 9999px;
    border: 2px solid #6c757d;
    background: transparent;
    color: #6c757d;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    touch-action: manipulation;
    transition: background 0.15s, color 0.15s;
}

.reset-button.pressed[b-7lbtlpdh45] {
    background: #6c757d;
    color: #fff;
}

.chart-section[b-7lbtlpdh45] {
    padding: 0.5rem 1rem 0;
}

.chart-wrapper[b-7lbtlpdh45] {
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.chart-y-labels[b-7lbtlpdh45] {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.65rem;
    line-height: 1;
    color: #6c757d;
    text-align: right;
    min-width: 2rem;
}

.chart-main-label[b-7lbtlpdh45] {
    position: absolute;
    right: 0;
    transform: translateY(-50%);
    color: #dc3545;
    font-size: 0.65rem;
    line-height: 1;
}

.bpm-chart[b-7lbtlpdh45] {
    flex: 1;
    height: 80px;
    display: block;
    min-width: 0;
}

.history-section[b-7lbtlpdh45] {
    max-height: 40vh;
    overflow-y: auto;
}

.range-divider td[b-7lbtlpdh45] {
    padding: 0;
    height: 2px;
    background-color: #0d6efd;
    opacity: 0.5;
}

.out-of-range[b-7lbtlpdh45] {
    opacity: 0.35;
}
