html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin: 0;
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
    color: var(--bs-body-color);
    text-align: var(--bs-body-text-align);
    background-color: var(--bs-body-bg);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    zoom: 0.8;
}

.footer {
    background: #fff;
    padding: 0.875rem;
    padding: 12px 0;
    box-shadow: 0 0 20px rgba(89, 102, 122, 0.1);
    position: sticky;
    bottom: 0;
    z-index: 1020;
    align-items: center;
}

.loading-overlay {
    position: fixed; /* cover the viewport */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5); /* semi-transparent background */
    z-index: 9999; /* above all content */
    display: flex; /* center spinner */
    justify-content: center;
    align-items: center;
}

.spinner-container {
    text-align: center;
}

.right-container {
    position: relative;
    display: inline-block;
}

.loading {
    position: relative;
    background-color: lightgray;
    overflow: hidden; /* keeps the shimmer inside the box */
}

    .loading::after {
        display: block;
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        transform: translateX(-100%);
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
        animation: loading 0.8s infinite;
        top: 0;
        left: 0;
    }

@keyframes loading {
    100% {
        transform: translateX(100%);
    }
}
.drag-area {
    border: 2px dashed #0d6efd;
    background: #fff;
    border-radius: 5px;
    padding: 20px 40px;
    text-align: center;
    font-size: 20px;
    color: #0d6efd;
    cursor: pointer;
    position: relative;
}

    .drag-area .file-input {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer; /* Ensures cursor is the same */
    }

    .drag-area i {
        color: #0d6efd;
        font-size: 35px;
    }