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-bottom: 60px;
}

textarea {
    resize: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    margin-left: 30%;
}

.long-square {
    width: 100%;
    height: 200px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    margin-bottom: 10px;
}

.big-rectangle {
    width: 80%;
    height: 400px;
    background-color: #f1f3f5;
    border: 1px solid #dee2e6;
    padding: 15px;
    margin-top: 20px;
    overflow-y: scroll;
}

.document-left-panel {
    max-height: 100vh;
    overflow-y: auto;
    padding: 10px;
}

.document-right-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 2px solid #dee2e6;
}

.content {
    height: 100%;
    overflow-y: auto;
    background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
}

.dummy-content {
    height: 800px;
    background: linear-gradient(180deg, #f0f0f0 0%, #e0e0e0 100%);
    padding: 10px;
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

/* Custom styles to remove list item borders and enable scrolling */
.custom-list {
    max-height: 300px; /* Set the height of the list container */
    overflow-y: auto; /* Enable vertical scrolling */
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0;
}

.custom-list-item {
    border: none;
    padding: 5px 15px;
    margin-bottom: 2px;
    cursor: pointer;
}

    .custom-list-item:last-child {
        margin-bottom: 0;
    }

.login-center-container {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px;
    padding: 20px;
    border-radius: 10px;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* semi-transparent black */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
}



/* Right preview panel */
.preview-container {
    flex: 1;
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically */
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
}

/* Image preview */
.preview-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: none;
}

/* PDF/doc preview */
.preview-doc {
    width: 80%; /* not full width, centered */
    height: 90%; /* scale to fit screen */
    border: none;
    display: none;
}

.closePreviewBtn {
    width: 75%;
    margin-left: 25%;
    padding-left: 33%;
    background-color: #f8f9fa;
    padding-bottom: 13px;
}

.logo {
    margin-left: 40px;
    margin-top: 30px;
}

.navbar-menu {
    margin-left: 35px;
}


/* Custom styles to remove list item borders and enable scrolling */
.custom-list {
    max-height: 300px; /* Set the height of the list container */
    overflow-y: auto; /* Enable vertical scrolling */
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0;
}

.custom-list-item {
    border: none;
    padding: 5px 15px;
    margin-bottom: 2px;
    cursor: pointer;
}

    .custom-list-item:last-child {
        margin-bottom: 0;
    }

.noteWrap {
    word-break: break-word;
}


.scroll-box {
    width: 100%;
    max-height: 450px;
    overflow-x: hidden;
    overflow-y: auto;
}

.site-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    line-height: 1.4;
    white-space: normal !important;
}

.checkbox-col {
    width: 11%;
}

@media (max-width: 576px) {
    .checkbox-col {
        width: 65%;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .checkbox-col {
        width: 20%;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .checkbox-col {
        width: 12%;
    }
}

@media (min-width: 1201px) {
    .checkbox-col {
        width: 11%;
    }
}



.app-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    min-height: 60px;
    border-top: 1px solid #dee2e6;
    padding: 15px 0;
}

    .app-footer .container {
        display: block;
        padding: 0 15px;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }

    .app-footer span {
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.5;
    }

    .app-footer a {
        text-decoration: none;
        white-space: nowrap;
    }

        .app-footer a:hover {
            text-decoration: underline;
        }

@media (max-width: 768px) {
    body {
        margin-bottom: 85px;
    }

    .app-footer {
        min-height: auto;
        padding: 20px 0;
    }

        .app-footer .container {
            text-align: center;
        }

        .app-footer a {
            margin-left: 0;
        }
}

@media (max-width: 576px) {
    body {
        margin-bottom: 115px;
    }

    .app-footer {
        padding: 15px 0;
    }

        .app-footer .container {
            gap: 10px;
        }
}

.applicantDocTd {
    display: flex !important;
    flex-direction: column;
    text-align: left;
    align-items: flex-start !important;
    max-width: 230px;
}
.file-name {
    overflow-wrap: anywhere;
    word-break: break-word;
}

#togglePasswordIcon {
    font-size: 1.2rem;
    line-height: 1;
}
