@import 'TCGS.Web.Wasm.Client.rn40qie0jx.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-c0d6i7k2zt] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-c0d6i7k2zt], .main-content[b-c0d6i7k2zt] {
    flex: 1;
    min-height: 0;
}

/* Mobile: full width content */
@media (max-width: 640px) {
    .main-content[b-c0d6i7k2zt] {
        width: 100%;
    }
}

.sidebar[b-c0d6i7k2zt] {
    background: linear-gradient(180deg, #1a237e 0%, #283593 40%, #3949ab 100%);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
}

.top-row[b-c0d6i7k2zt] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-c0d6i7k2zt]  a, .top-row[b-c0d6i7k2zt]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-c0d6i7k2zt]  a:hover, .top-row[b-c0d6i7k2zt]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-c0d6i7k2zt]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-c0d6i7k2zt] {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .top-row[b-c0d6i7k2zt]  a, .top-row[b-c0d6i7k2zt]  .btn-link {
        margin-left: 0;
    }

    /* Better mobile content spacing */
    .content[b-c0d6i7k2zt] {
        padding: 1rem 0.75rem !important;
    }
}

@media (min-width: 641px) {
    .page[b-c0d6i7k2zt] {
        flex-direction: row;
    }

    .sidebar[b-c0d6i7k2zt] {
        width: 260px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow-y: auto;
    }

    .top-row[b-c0d6i7k2zt] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-c0d6i7k2zt]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-c0d6i7k2zt], article[b-c0d6i7k2zt] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-c0d6i7k2zt] {
    color-scheme: light only;
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    bottom: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-top: 3px solid #c62828;
    font-weight: 500;
}

    #blazor-error-ui .dismiss[b-c0d6i7k2zt] {
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 0.75rem;
        font-size: 1.25rem;
        opacity: 0.6;
    }

    #blazor-error-ui .dismiss:hover[b-c0d6i7k2zt] {
        opacity: 1;
    }

#blazor-error-ui .reload[b-c0d6i7k2zt] {
    color: #c62828;
    font-weight: 600;
    text-decoration: underline;
}
