﻿@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;
}

.my-blurry-dialog {
    backdrop-filter: blur(10px);
}

.loading-text:after {
    content: var(--blazor-load-percentage-text, 0%);
}
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: 80px;
    right: 5px;
    z-index: 999;
    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;
    }


    .app-loader {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: inline-block;
        border-top: 4px solid #007ACC;
        border-right: 4px solid transparent;
        box-sizing: border-box;
        animation: rotation 1s linear infinite;
    }
    
        .app-loader::after {
            content: '';
            box-sizing: border-box;
            position: absolute;
            left: 0;
            top: 0;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border-bottom: 4px solid #007ACC;
            border-left: 4px solid transparent;
        }
    
    @keyframes rotation {
        0% {
            transform: rotate(0deg);
        }
    
        100% {
            transform: rotate(360deg);
        }
    }
    
#figure-center{
    text-align: center;
}

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

.register-head {
    padding: 5px;
    text-align: center;
}