body {
    width: 100%;
    font-size: 1.2em !important;
}

.fs-s3 {
    font-size: 102% !important;
}


.close {
    background: #606061;
    color: #ffffff;
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}

.close:hover {
    background: #00d9ff;
}

.modal {
    display: none;
    top: 0;
    min-width: 250px;
    width: 90%;
    height: fit-content;
    margin: 0 auto;
    position: fixed;
    z-index: 40001;
    background: #000;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #000;
    margin-top: 30px;
    margin-left: 5%;
    animation-name: fadeIn_Modal;
    animation-duration: 0.8s;
    padding: 10px;
    background-color: #18181A;
}

/* For non-smartphone */
@media screen and (min-width: 600px) {

    .modal {
        width: 40%;
        height: fit-content;
        margin-left: calc(50vw - 20%);
        top: 50% !important;
        transform: translate(0, -50%) !important;

    }
}

/****ANIMATIONS****/

@keyframes fadeIn_Modal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn_Container {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.9;
    }
}

.custom-file-upload {
    border: 1px solid #ccc;
    display: block;
    padding: 6px 12px;
    cursor: pointer;
    width: fit-content;
    margin-bottom: 5px;
}

input[type="file"] {
    display: none;
}

#preview_image {
    height: 200px;
}

#modal-content {
    overflow-y: auto;
    max-height: calc(100vh - 100px);
}

select:required:invalid {
    color: gray;
}

option[value=""][disabled] {
    display: none;
}

option {
    color: black;
}

/* Floating Message */
.float-message {
    position: fixed;
    z-index: 1001;
    max-width: 400px;
    bottom: 20px;
    right: 20px;
    padding: 30px;
    color: #444;
    font-size: 16px;
    border-radius: 5px;
    background: #d4edda;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
    display: none;
}

.float-message-inner {
    position: relative;
}

.float-message-inner p {
    margin: auto
}

.close-link {
    text-decoration: none;
    color: #444;
    font-weight: bold;
    position: absolute;
    top: -23px;
    right: -20px;
    font-size: 17px;
}

.profile-pic {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
