@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Ubuntu", sans-serif;
}
.fe-body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100svw;
    text-align: center;
}
.fe-body {
    background-image: url('/media/BG-OA.svg');
    background-repeat: no-repeat;
    background-position: bottom;
}
.body-title{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    color: #1563C0;
    position: absolute;
    top: 1%;
    left: 5%;
}
.body-title img{
    max-width: 25px;
    height: auto;
    margin-right: .5rem;
}
.progress-viewer{
    background: rgba(240, 240, 240, 0.295);
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    width: 90svw;
    max-height: 85svh;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    justify-content: space-evenly;
}
.update {
    margin: 5px 0;
    padding: .7rem 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}
.doc-details {
    height: max-content;
    flex: 1;
}
.doc-details > * {
    padding: 0;
    margin: 0;
    margin-left: 1rem;
    word-break: break-word;
    font-size: .85rem;
    font-weight: 500;
}
.loader {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    border-top: 4px solid #1F6BC4;
    border-right: 4px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin-right: .5rem;
}
.loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border-left: 4px solid #494949;
    border-bottom: 4px solid transparent;
    animation: rotation 0.5s linear infinite reverse;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.updates-container{
    height: 90%;
}
.progress-bar-container {
    width: 95%;
    max-width: 90vw;
    margin: 1.5rem auto 1rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.progress-bar-bg {
    width: 100%;
    height: 12px;
    background: #e3eaf3;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(21,99,192,0.08);
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(
        90deg,
        #1563C0 0%,
        #3a8dde 50%,
        #1563C0 100%
    );
    border-radius: 10px 0 0 10px;
    position: relative;
    transition: width 0.5s cubic-bezier(.4,2,.6,1);
    min-width: 8%;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.15) 0%,
        rgba(255,255,255,0.6) 40%,
        rgba(255,255,255,0.15) 100%
    );
    animation: shimmer 1.2s infinite linear;
    pointer-events: none;
}

.progress-bar-label {
    font-size: .6rem;
    color: #1976d2;
    font-weight: 400;
    letter-spacing: 0.5px;
    width: 100%;
    text-align: right;
}

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

.progress-bar-container h2 {
    font-size: 1.3rem;
    color: #1563C0;
    font-weight: 600;
    text-align: left;
    width: 100%;
}
.updates-header{
    width: 95%;
    border-bottom: 1px solid #c1c1c1;
    margin-bottom: .5rem;
    padding-bottom: .3rem;
    text-align: left;
    margin-left: 2.5%;
}
.completion-modal {
    background: rgba(240, 240, 240, 0.295);
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    position: absolute;
    width: 100svw;
    height: 100svh;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#updates{
    overflow: scroll !important;
}