/* /Components/Layout/MainLayout.razor.rz.scp.css */
.main-container[b-rkbritqf99] {
    width: 80%;
    max-width: 1400px; /* Prevents it from being too wide on large screens */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .main-container[b-rkbritqf99] {
        width: 95%; /* Wider on mobile */
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-hevhku8mc8],
.components-reconnect-repeated-attempt-visible[b-hevhku8mc8],
.components-reconnect-failed-visible[b-hevhku8mc8],
.components-pause-visible[b-hevhku8mc8],
.components-resume-failed-visible[b-hevhku8mc8],
.components-rejoining-animation[b-hevhku8mc8] {
    display: none;
}

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


#components-reconnect-modal[b-hevhku8mc8] {
    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-hevhku8mc8 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-hevhku8mc8 {
    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/Layout/TitleBar.razor.rz.scp.css */
.profile-dropdown-toggle[b-ybezx5eeta] {
    outline: none;
    box-shadow: none;
}

.profile-dropdown-toggle:focus[b-ybezx5eeta],
.profile-dropdown-toggle:hover[b-ybezx5eeta],
.profile-dropdown-toggle:active[b-ybezx5eeta] {
    outline: none;
    box-shadow: none;
    background-color: transparent;
}

.main-container[b-ybezx5eeta] {
    width: 80%;
    max-width: 1400px; /* Prevents it from being too wide on large screens */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .main-container[b-ybezx5eeta] {
        width: 95%; /* Wider on mobile */
    }
}
/* /Components/Pages/Bowlers/Profile.razor.rz.scp.css */
#profile-nav .nav-link[b-ia0ea6xrzt] {
    color: var(--bs-secondary);
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
}

#profile-nav .nav-link:hover[b-ia0ea6xrzt] {
    color: var(--bs-primary);
    background-color: var(--bs-light);
}

#profile-nav .nav-link.active[b-ia0ea6xrzt] {
    color: var(--bs-primary);
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    font-weight: 500;
}

.scroll-section[b-ia0ea6xrzt] {
    scroll-margin-top: 100px;
}

.sticky-bottom[b-ia0ea6xrzt] {
    position: sticky;
    bottom: 0;
    padding-bottom: 1rem;
    border-top: 1px solid var(--bs-border-color);
    margin-top: 1rem;
}

.tooltip-wrapper[b-ia0ea6xrzt] {
    cursor: pointer;
}

.custom-tooltip[b-ia0ea6xrzt] {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    z-index: 1000;
    transition: opacity 0.2s;
    
    /* Auto-adjust for narrow viewports */
    white-space: normal;
    max-width: min(250px, 80vw);
    width: max-content;
    text-align: center;
}

.custom-tooltip[b-ia0ea6xrzt]::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.tooltip-wrapper:hover .custom-tooltip[b-ia0ea6xrzt] {
    visibility: visible;
    opacity: 1;
}

/* Prevent tooltip from overflowing viewport edges */
@media (max-width: 576px) {
    .custom-tooltip[b-ia0ea6xrzt] {
        left: auto;
        right: 0;
        transform: none;
    }
    
    .custom-tooltip[b-ia0ea6xrzt]::after {
        left: auto;
        right: 10px;
    }
}
/* /Components/Shared/ImageUpload/ImageUpload.razor.rz.scp.css */
.image-upload-container[b-2cbunr151d] {
    display: inline-block;
}

.image-upload-overlay[b-2cbunr151d] {
    opacity: 0;
    transition: opacity 0.2s ease;
    background-color: rgba(0, 0, 0, 0.3);
}

.image-preview-wrapper:hover .image-upload-overlay[b-2cbunr151d] {
    opacity: 1;
}

.upload-hint[b-2cbunr151d] {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.image-preview-wrapper:hover .upload-hint[b-2cbunr151d] {
    opacity: 1;
}

.image-placeholder[b-2cbunr151d] {
    border: 2px dashed #dee2e6;
}

.image-placeholder-icon[b-2cbunr151d] {
    font-size: 33%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-wrapper:hover .image-placeholder[b-2cbunr151d] {
    border-color: #6c757d;
}

/* Circular overlay using JS-positioned element */
.circular-overlay-container[b-2cbunr151d] {
    position: absolute;
    pointer-events: none;
    z-index: 10;
    border-radius: 50%;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(51, 153, 255, 0.75);
}

/* Fallback CSS-only approach */
.cropper-circular :deep(.cropper-view-box)[b-2cbunr151d] {
    border-radius: 50% !important;
    outline: none !important;
    overflow: hidden !important;
}

.cropper-circular :deep(.cropper-face)[b-2cbunr151d] {
    border-radius: 50% !important;
    background-color: transparent !important;
}

.cropper-circular :deep(.cropper-crop-box)[b-2cbunr151d] {
    border-radius: 50%;
}

/* Upload overlay hover effect */
.image-upload-overlay[b-2cbunr151d] {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.image-preview-wrapper:hover .image-upload-overlay[b-2cbunr151d] {
    opacity: 1;
}
