@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
/*
    Inox Primary: #ffcc29;
    Inox Text: #2b2b2b;
    ProdMonitor Primary: #0d7ce9;
    ProdMonitor Text: #fff;
*/
:root {
    --primary: #0d7ce9;
    --text: #ffffff;
}

html, body {
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    background-color: #e0e0e0;
}

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;
    }

/* Spinner and loader */
.spinner-container {
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid var(--primary);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
}

#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

#backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 1;
    justify-content: center;
    align-items: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.login #logo-wrapper {
    background-color: #2a2a2a;
    text-align: center;
}
    .login #logo-wrapper img {
        height: 160px;
        padding: 30px;
    }

    .login .form-wrapper {
        text-align:center;
    }
        .login .form-wrapper .info-wrapper {
            border: 1px solid;
            background: white;
            padding: 20px 0px;
            width: 500px;
            margin: auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .login .form-wrapper .info-wrapper i {
                color: var(--primary);
                font-size: 30px;
                width: 40px;
            }
        .login .form-wrapper .login-btn {
            color: var(--text);
            background: var(--primary);
            font-weight: 500;
            font-size: 15px;
            margin-top: 5px;
            border-radius: 20px;
            width: 200px;
        }
        .login .form-wrapper input {
            width: 200px;
        }
.operation-wrapper {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
}
    .operation-wrapper span {
        font-size: 20px;
        text-transform: uppercase;
        font-weight: 700;
    }
.primary-btn {
    color: var(--text);
    background: var(--primary);
    width: 250px;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 15px;
}
span.sub-text-regular {
    font-size: 14px;
}
.table td .title-bold {
    font-weight: 500;
}
span.offer-status, .offer-status span {
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0px;
    padding: 3px;
    color: #fff;
    text-align: center;
    font-size: 12px;
    display: flex;
    flex-direction: column;
}
.primary-btn-outline {
    color: var(--primary);
    border: 1px solid var(--primary);
    width: 250px;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 15px;
}
.primary-btn-outline:hover {
    color: var(--primary);
}
.breadcrumb {
    background: #fff;
}
/* Toast */
.blazored-toast-container {
    z-index: 1200 !important;
}

.blazored-toast-body .blazored-toast-header h5 {
    font-size: 1.3rem;
}

.blazored-toast-body p {
    font-size: .875rem;
}
.input-search {
    width: 300px;
    outline: none;
    height: 36px;
    margin-bottom: 20px;
}
/* Pagination */
.pagination .page-item {
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #686868;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

    .pagination .page-item.active {
        color: #fff;
        background-color: var(--primary);
        border-color: var(--primary);
    }
.page-message {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}
.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
    background-color: #1e1e1e;
    border-bottom: 1px solid #d6d5d5;
    justify-content: space-between;
    height: 3.5rem;
    display: flex;
    align-items: center;
    color: #eee;
}

    .top-row ::deep a, .top-row .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .top-row .logo-img {
        height: 43px;
        left: 0;
        right: 0;
        margin-inline: auto;
        width: fit-content;
        position: absolute;
    }

    .top-row span {
        margin-right: 10px;
    }
    .top-row .right-section {
        display: flex;
        align-items: center
    }
        .top-row .right-section .user-icon {
            color: var(--primary);
            font-size: 1.6rem;
            margin-right: 10px;
        }

@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

