/* styles.css */

/* Loader styles */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    font-size: 1.5rem;
}

/* Spinner animation */
.spinner-border {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

/* Improve readability */
body {
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #000;
}

.modal-body h1, .modal-body h2, .modal-body h3, .modal-body h4, .modal-body h5, .modal-body h6 {
    font-weight: bold;
    margin-top: 1.5rem;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body ul, .modal-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal-body hr {
    border-top: 1px solid #000;
    margin: 1.5rem 0;
}

.modal-body strong {
    font-weight: bold;
}

/* High contrast for better visibility */
.modal-content {
    background-color: #fff;
    color: #000;
}

/* Adjust modal for better readability */
.modal-dialog {
    max-width: 800px;
    margin: 1.75rem auto;
}

/* Adjust buttons for accessibility */
.btn {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
}

/* Adjust close button size */
.close {
    font-size: 2rem;
    line-height: 1;
}

/* Adjust font size on smaller devices */
@media (max-width: 576px) {
    body {
        font-size: 1rem;
    }
    .modal-dialog {
        max-width: 100%;
        margin: 0;
    }
    .modal-content {
        border-radius: 0;
        height: 100vh;
    }
    .modal-body {
        overflow-y: auto;
    }
}
