/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-6su0juqcwd] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-6su0juqcwd] {
    flex: 1;
}

.sidebar[b-6su0juqcwd] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-6su0juqcwd] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-6su0juqcwd]  a, .top-row[b-6su0juqcwd]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-6su0juqcwd]  a:hover, .top-row[b-6su0juqcwd]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-6su0juqcwd]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-6su0juqcwd] {
        justify-content: space-between;
    }

    .top-row[b-6su0juqcwd]  a, .top-row[b-6su0juqcwd]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-6su0juqcwd] {
        flex-direction: row;
    }

    .sidebar[b-6su0juqcwd] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-6su0juqcwd] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-6su0juqcwd]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-6su0juqcwd], article[b-6su0juqcwd] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-6su0juqcwd] {
    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-6su0juqcwd] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-bp5hdcgub9],
.components-reconnect-repeated-attempt-visible[b-bp5hdcgub9],
.components-reconnect-failed-visible[b-bp5hdcgub9],
.components-pause-visible[b-bp5hdcgub9],
.components-resume-failed-visible[b-bp5hdcgub9],
.components-rejoining-animation[b-bp5hdcgub9] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-bp5hdcgub9],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-bp5hdcgub9],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-bp5hdcgub9],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-bp5hdcgub9],
#components-reconnect-modal.components-reconnect-retrying[b-bp5hdcgub9],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-bp5hdcgub9],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-bp5hdcgub9],
#components-reconnect-modal.components-reconnect-failed[b-bp5hdcgub9],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-bp5hdcgub9] {
    display: block;
}


#components-reconnect-modal[b-bp5hdcgub9] {
    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-bp5hdcgub9 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-bp5hdcgub9 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-bp5hdcgub9 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-bp5hdcgub9]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-bp5hdcgub9 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-bp5hdcgub9 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-bp5hdcgub9 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-bp5hdcgub9 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-bp5hdcgub9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-bp5hdcgub9] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-bp5hdcgub9] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-bp5hdcgub9] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-bp5hdcgub9] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-bp5hdcgub9] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-bp5hdcgub9] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-bp5hdcgub9 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-bp5hdcgub9] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-bp5hdcgub9 {
    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/Setups.razor.rz.scp.css */
/* Setups Page Scoped CSS */

:root[b-60fzm47pwn] {
    --primary-orange: #ff5f1f;
    --primary-gradient: linear-gradient(135deg, #ff5f1f 0%, #ff8c00 100%);
    --dark-obsidian: #1e1e24;
}

/* Hero Section */
.setups-hero[b-60fzm47pwn] {
    background: linear-gradient(135deg, #1e1e24 0%, #2d3436 100%);
    color: white;
    padding: 50px 0;
    border-radius: 0 0 40px 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.setups-hero[b-60fzm47pwn]::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 95, 31, 0.2) 0%, rgba(255, 95, 31, 0) 70%);
    pointer-events: none;
}

.setups-hero h1[b-60fzm47pwn] {
    font-size: 2.8rem;
    letter-spacing: -1px;
}

.glow-text[b-60fzm47pwn] {
    background: linear-gradient(135deg, #ff8c00, #ff5f1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Sync Status Badge */
.sync-badge[b-60fzm47pwn] {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.sync-active[b-60fzm47pwn] {
    background-color: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.sync-local[b-60fzm47pwn] {
    background-color: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.sync-dot[b-60fzm47pwn] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    display: inline-block;
    box-shadow: 0 0 8px currentColor;
}

/* Quick Action bar */
.action-bar[b-60fzm47pwn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.btn-upload-trigger[b-60fzm47pwn] {
    background: linear-gradient(135deg, #ff5f1f 0%, #ff8c00 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 95, 31, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-upload-trigger:hover[b-60fzm47pwn] {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 95, 31, 0.4);
    color: white;
}

/* Setup Cards Grid */
.setups-grid[b-60fzm47pwn] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.setup-card[b-60fzm47pwn] {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 95, 31, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.setup-card:hover[b-60fzm47pwn] {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 95, 31, 0.1);
    border-color: rgba(255, 95, 31, 0.15);
}

.setup-image-wrapper[b-60fzm47pwn] {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #f5f6fa;
}

.setup-img[b-60fzm47pwn] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.setup-card:hover .setup-img[b-60fzm47pwn] {
    transform: scale(1.05);
}

.setup-card-body[b-60fzm47pwn] {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.submitter-info[b-60fzm47pwn] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.avatar-circle[b-60fzm47pwn] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.submitter-name[b-60fzm47pwn] {
    font-weight: 600;
    color: #4b4b4b;
    font-size: 0.9rem;
}

.setup-title[b-60fzm47pwn] {
    font-weight: 800;
    font-size: 1.25rem;
    color: #2d3436;
    margin-bottom: 8px;
    line-height: 1.3;
}

.setup-description[b-60fzm47pwn] {
    color: #636e72;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.setup-card-footer[b-60fzm47pwn] {
    border-top: 1px solid #f1f2f6;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.setup-date[b-60fzm47pwn] {
    font-size: 0.75rem;
    color: #a4b0be;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Interactive Like Button */
.like-container[b-60fzm47pwn] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-like[b-60fzm47pwn] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 95, 31, 0.2);
    background-color: #fff9f6;
    color: #ff5f1f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 95, 31, 0.05);
}

.btn-like:hover[b-60fzm47pwn] {
    background: #ff5f1f;
    color: white;
    border-color: #ff5f1f;
    transform: scale(1.1);
}

.btn-like.liked[b-60fzm47pwn] {
    background: #ff5f1f;
    color: white;
    border-color: #ff5f1f;
    animation: heartBeat-b-60fzm47pwn 0.3s ease-in-out;
}

.like-count[b-60fzm47pwn] {
    font-weight: 700;
    font-size: 0.9rem;
    color: #2d3436;
}

/* Glassmorphic Upload Modal */
.glass-modal-overlay[b-60fzm47pwn] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn-b-60fzm47pwn 0.2s ease-out;
}

.glass-modal-content[b-60fzm47pwn] {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    width: 100%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: slideUp-b-60fzm47pwn 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.modal-header-custom[b-60fzm47pwn] {
    padding: 25px 25px 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-body-custom[b-60fzm47pwn] {
    padding: 25px;
}

/* Dual Upload Grid for Mobile */
.upload-choices-grid[b-60fzm47pwn] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.upload-choice-card[b-60fzm47pwn] {
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px dashed rgba(255, 95, 31, 0.2);
    background: #fffdfc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.upload-choice-card:hover[b-60fzm47pwn] {
    border-color: #ff5f1f;
    background: #fff5f0;
    transform: translateY(-3px);
}

.upload-choice-icon[b-60fzm47pwn] {
    font-size: 2.2rem;
    color: #ff5f1f;
    margin-bottom: 5px;
    transition: transform 0.2s;
}

.upload-choice-card:hover .upload-choice-icon[b-60fzm47pwn] {
    transform: scale(1.1);
}

.upload-choice-title[b-60fzm47pwn] {
    font-weight: 700;
    font-size: 0.95rem;
    color: #2d3436;
}

.upload-choice-desc[b-60fzm47pwn] {
    font-size: 0.75rem;
    color: #7f8c8d;
}

/* Image Preview Box */
.preview-container[b-60fzm47pwn] {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 95, 31, 0.1);
}

.preview-img[b-60fzm47pwn] {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    display: block;
}

.preview-overlay[b-60fzm47pwn] {
    position: absolute;
    top: 10px;
    right: 10px;
}

.btn-remove-preview[b-60fzm47pwn] {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-remove-preview:hover[b-60fzm47pwn] {
    background: #ff5f1f;
}

/* Animations */
@keyframes heartBeat-b-60fzm47pwn {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

@keyframes fadeIn-b-60fzm47pwn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-60fzm47pwn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Overrides */
@media (max-width: 576px) {
    .setups-hero h1[b-60fzm47pwn] {
        font-size: 2rem;
    }
    
    .upload-choices-grid[b-60fzm47pwn] {
        grid-template-columns: 1fr;
    }
    
    .action-bar[b-60fzm47pwn] {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .btn-upload-trigger[b-60fzm47pwn] {
        justify-content: center;
    }
}

/* Custom Action Buttons in Modal */
.btn-cancel-custom[b-60fzm47pwn] {
    background-color: #f1f2f6;
    color: #2d3436;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    width: 100%;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-cancel-custom:hover[b-60fzm47pwn] {
    background-color: #e4e7eb;
    transform: translateY(-2px);
}

.btn-cancel-custom:disabled[b-60fzm47pwn],
.btn-publish-custom:disabled[b-60fzm47pwn] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-publish-custom[b-60fzm47pwn] {
    background: linear-gradient(135deg, #ff5f1f 0%, #ff8c00 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 95, 31, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.btn-publish-custom:hover[b-60fzm47pwn] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 95, 31, 0.35);
    color: white;
}
