﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");

:root {
    --eaBlue: #0018A8;
    --eaGreen: #00e2b6;
    --eaGrey: #494454;
    --eaLightGrey: #AEA8BA;
    --eaDark: #f5f3f9;
}

html, body {
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: 1rem;
    height: 100%;
}

label {
    font-weight: 600;
    margin-top: 10px;
}

.e-tab .e-tab-header:not(.e-vertical) .e-indicator, .e-tab .e-tab-header.e-vertical .e-indicator {
    transition: none;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0018A8;
}

.btn-primary {
    color: #fff;
    background-color: #0018A8;
    border-color: #0018A8;
}

.btn-primary:hover {
    color: #fff;
    background-color: #000D58;
    border-color: #000D58;
}

.content {
    padding-top: 1.1rem;
}

.center {
    margin: auto;
    width: 100%;
    padding: 10px;
    max-width: 700px;
}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    z-index: 1050;
    //Half of the height of the loading graphic margin-left: -50px;
    //Half of the width of the loading graphic
}

.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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmb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IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


.e-btn {
    background-color: #0018A8;
}

.navbar-dark {
    background-color: #494454 !important;
}

.navbar-light {
    background-color: #f5f3f9 !important;
}


.sidebar {
    position: fixed !important;
    height: 100%;
    z-index: 1029;
}

.navbar-ea {
   /*Created at -> https: //cssgradient.io/*/
    background-color: rgb(0,7,49) !important;
    background: linear-gradient(130deg, rgba(0,7,49,1) 0%, rgba(8,8,107,1) 50%, rgba(0,21,145,1) 76%, rgba(0,24,168,1) 100%) !important;
}

.w-sidebar{
    padding-left:250px;
}

html {
    font-size: 1rem;
}

@include media-breakpoint-up(sm) {
    html{
        font-size: 1.2rem;
    }
}

@include media-breakpoint-up(md) {
    html {
        font-size: 1.4rem;
    }
}

@include media-breakpoint-up(lg) {
    html {
        font-size: 1.6rem;
    }
}

.custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
}

.custom-file-input::before {
    content: 'Upload';
    display: inline-block;
    background: linear-gradient(top, #f9f9f9, #e3e3e3);
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-weight: 700;
    font-size: 10pt;
}

.custom-file-input:hover::before {
    border-color: black;
}

.custom-file-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

.bg-darkgreyea{
    background-color: #494454 !important;
}

.bg-lightgreyea {
    background-color: #f5f3f9 !important;
    background-image: none !important;
}

.e-menu-container{
    z-index: 1030 !important;
}

.e-grid .e-headercell {
    /*background-color: #f5f3f9 !important;*/
    background-color: rgb(248, 249, 250) !important;
}

.filebuttonlabel {
    cursor: pointer !important;
    margin-top: 0px !important;
}

    .filebuttonlabel:hover {
       /* color: #fff;
        background-color: #000D58 !important;
        border-color: #000D58 !important;*/
    }

.e-toolbar .e-tbar-btn {
    padding: 3px 7px !important;
    border-width: 1px !important;
    border-color: gray;
}

.e-toolbar .e-tbar-btn:hover {
   /*background-color: lightgray !important;*/
}

.e-toolbar .e-toolbar-items {
    /*background-color: white !important;*/
}

.p-body-header{
    margin-top: 48px;
}

.e-dlg-overlay{
    background-color: none !important;
}

.spinner {
    margin: 100px auto;
    width: 40px;
    height: 40px;
    position: relative;
    text-align: center;
    -webkit-animation: sk-rotate 2.0s infinite linear;
    animation: sk-rotate 2.0s infinite linear;
}

.dot1, .dot2 {
    width: 60%;
    height: 60%;
    display: inline-block;
    position: absolute;
    top: 0;
    border-radius: 100%;
    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.dot1 {
    background-color: #aea8ba;
}

.dot2 {
    top: auto;
    bottom: 0;
    background-color: #061eb3;
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes sk-rotate {
    100% {
        -webkit-transform: rotate(360deg)
    }
}

@keyframes sk-rotate {
    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg)
    }
}

@-webkit-keyframes sk-bounce {
    0%, 100% {
        -webkit-transform: scale(0.0)
    }

    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }

    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    background: linear-gradient(0deg, #0018A8 33%, #00E2B6 100%);
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

    .loader::after {
        content: '';
        box-sizing: border-box;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #FFFFFF;
    }

@keyframes rotation {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.floating-btn {
    position: fixed; /* Makes the button float/stick to the viewport */
    top: 50%; /* Position vertically in the middle */
    left: 40px; /* Distance from left side */
    transform: translateY(-50%); /* Centers it perfectly vertically */
    /* Button styling */
    padding: 15px 25px;
    background-color: var(--eaBlue);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    /* Shadow for floating effect */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    /* Smooth transition for hover effects */
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-50%) translateX(5px); /* Moves button slightly right on hover while maintaining vertical center */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background-color: var(--eaBlue);
}

.sticky-sidebar {
    position: sticky; /* Makes the div sticky */
    top: 48px; /* Sticks to top of viewport */
    height: calc(100vh - 48px); /* Full viewport height */
    width: 250px; /* Width of sidebar */
    background-color: #FFFFFF;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.avatar-container {
    display: flex;
    align-items: center;
    /*margin: 20px;*/
}

.avatar {
  /*  width: 64px;
    height: 64px;*/
    border-radius: 50%;
    background-color: #6c757d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
/*    font-size: 24px;*/
    font-weight: bold;
    margin-right: 15px;
}

   