@import url('landingpage.css');
@import url('mainlayout.css');
@import url('docspage.css');
@import url('docsection.css');
@import url('base.css');
@import url('carbon.css');
@import url('loader.css');
/* @import url('fonts.css'); */


html, body {
    font-family: 'Poppins', 'Roboto', sans-serif;
}
.loading-progress-text {
    position: relative;
    text-align: center;
    font-weight: bold;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.btn-fab-rounded {
    width: 200px;
    height: 50px;
    border-radius: 10px;
}

.fab {
    position: fixed;
    bottom: 65px;
    right: 5px;
    padding: 20px;
    box-shadow: 2px 2px 3px rgb(255, 255, 255);
    animation: bot-to-top 2s ease-out;
}

.fab-sync {
    position: fixed;
    bottom: 5px;
    right: 5px;
    padding: 20px;
    box-shadow: 2px 2px 3px rgb(255, 255, 255);
    animation: bot-to-top 2s ease-out;
}

.fabs-container {
    position: fixed;
    bottom: 20px;
    right: 0px;
    z-index: 9999;
    cursor: pointer;
}

.fab-options {
    list-style-type: none;
    margin: 0;
    position: absolute;
    bottom: 50px;
    right: 0;
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0);
    transform-origin: 85% bottom;
}

    .fab:hover + .fab-options,
    .fab-options:hover {
        opacity: 1;
        transform: scale(1);
    }

    .fab-options li {
        display: flex;
        justify-content: flex-end;
        padding: 5px;
    }

    .new-version-toast {
        display: flex;
        flex-direction: row;
        justify-content: right;
        background-color: #7e6fff;
        padding: 10px;
        margin: 10px 30px;
        box-shadow: 9px 5px 5px white;
        position: absolute;
        bottom: 0px;
        width: 400px;
    }
    .wrapper {
        position:absolute;
        top: 70px;
        left: 20px;
        animation: show_toast 1s ease forwards;
    }
    @keyframes show_toast {
        0%{
            transform: translateX(-100%);
        }
        40%{
            transform: translateX(10%);
        }
        80%, 100%{
            transform: translateX(20px);
        }
    }
    .wrapper.hide{
        animation: hide_toast 1s ease forwards;
    }
    @keyframes hide_toast {
        0%{
            transform: translateX(20px);
        }
        40%{
            transform: translateX(10%);
        }
        80%, 100%{
            opacity: 0;
            pointer-events: none;
            transform: translateX(-100%);
        }
    }
    .wrapper .toast{
        background: #fff;
        padding: 20px 15px 20px 20px;
        border-radius: 10px;
        border-left: 5px solid #2ecc71;
        box-shadow: 1px 7px 14px -5px rgba(0, 0, 0, 0.15);
        width: 350px;
        display: flex;
        align-items: center;
        justify-content: space-between;            
    }
    .wrapper .toast.offline{
        border-color: #ccc;
    }
    .toast .content{
        display: flex;
        align-items: center;
    }
    .content .icon{
        font-size: 25px;
        color: #fff;
        height: 50px;
        width: 50px;
        text-align: center;
        line-height: 50px;
        border-radius: 50%;
        background: #2ecc71;            
    }
    .toast.offline .content .icon{
        background: #ccc;            
    }
    .content .details{
        margin-left: 15px;
    }
    .details span{
        font-size: 20px;
        font-weight: 500;
    }
    .details p{
        color: #878787;
    }
    .toast .close-icon{
        color: #878787;
        font-size: 25px;
        cursor: pointer;
        height: 40px;
        width: 40px;
        text-align: center;
        line-height: 50px;
        border-radius: 50%;
        background: #f2f2f2;            
        transition: all 0.3s ease;
    }
    .close-icon:hover{
        background: #efefef;
    }


.sync-container {
    width: 400px;
    position: fixed;
    right: 35px;
    left: 0;
    padding: 20px;
    z-index: 200;
    margin: 15% auto;
    cursor: wait;
    animation: show_toast 1s ease-in-out backwards;
}

.sync-child {
    position: relative;
    left: -50%;
}

@keyframes show_toast {
    0% {
        transform: translateX(-100%);
    }

    40% {
        transform: translateX(10%);
    }

    80%, 100% {
        transform: translateX(20px);
    }
}

.image-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 70vh;
    margin: 0;
}

.flashing-image {
    width: 200px; /* Adjust the width and height as needed */
    height: 200px;
    /*animation: flash 1s infinite alternate;*/ /* Adjust the animation duration as needed */
}

@keyframes flash {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

#figure-right{
    text-align: end;
}

#figure-center{
    text-align: center;
}

html.dark-mode {
    background-color: #151521;
    color: #fff;
}
html.light-mode {
    background-color: #fff;
    color: #333;
}