:root {
    --bs-body-bg: var(--bs-gray-100);
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

footer {
    position: static;
    bottom: 0;
    flex-shrink: 0;
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
}
h1 {
    font-size: 16px;
}
h2 {
    font-size: 14px;
}
h3 {
    font-size: 12px;
}
h4 {
    font-size: 10px;
}
h5 {
    font-size: 8px;
}
h6 {
    font-size: 6px;
}

.loader-wrapper {
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.loader-wrapper.active{
    display: flex;
}
.loader {
    width: 175px;
    height: 80px;
    display: block;
    margin: auto;
    background-image: radial-gradient(
            circle 25px at 25px 25px,
            #fff 100%,
            transparent 0
        ),
        radial-gradient(circle 50px at 50px 50px, #fff 100%, transparent 0),
        radial-gradient(circle 25px at 25px 25px, #fff 100%, transparent 0),
        linear-gradient(#fff 50px, transparent 0);
    background-size: 50px 50px, 100px 76px, 50px 50px, 120px 40px;
    background-position: 0px 30px, 37px 0px, 122px 30px, 25px 40px;
    background-repeat: no-repeat;
    position: relative;
    box-sizing: border-box;
}
.loader::after {
    content: "";
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 0);
    position: absolute;
    border: 15px solid transparent;
    border-top-color: #ff3d00;
    box-sizing: border-box;
    animation: fadePush 1s linear infinite;
}
.loader::before {
    content: "";
    left: 50%;
    bottom: 30px;
    transform: translate(-50%, 0);
    position: absolute;
    width: 15px;
    height: 15px;
    background: #ff3d00;
    box-sizing: border-box;
    animation: fadePush 1s linear infinite;
}

@keyframes fadePush {
    0% {
        transform: translate(-50%, -15px);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, 0px);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

.glass {
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.fetchfile-card {
    min-width: 300px;
    min-height: 150px;
    padding: 20px;
}

.form-fetchfile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.form-fetchfile input[type="text"] {
    width: 100%;
    height: 34px;
    border: 1px solid #ccc;
    border-radius: 18px;
    padding: 0 10px;
    font-size: 14px;
    margin-bottom: 10px;
}
.form-fetchfile label {
    font-size: 14px;
    margin-bottom: 10px;
}
.input-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
button[type="submit"] {
    width: 100%;
    height: 34px;
    border: 1px solid #ccc;
    border-radius: 18px;
    padding: 0 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 14px;
}
a.btn {
    height: 34px;
    border: 1px solid #ccc;
    border-radius: 18px;
    font-size: 14px;
}

.modules-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.modules-list {
    display: flex;
    /* flex-direction: column; */
    flex-flow: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0px;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ccc;
    cursor: pointer;
}

.modules-list .item {
    position: relative;
    font-size: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    user-select: none;
    cursor: pointer;
    padding: 5px;
    margin: 5px 5px;
}
.modules-list .item.active {
    background-color: #ccc;
    border-radius: 5px;
}

.modules-list .item [type="checkbox"] {
    width: 12px;
    height: 12px;
    margin-right: 10px;
    cursor: pointer;
}
