/* Basic styling for visibility */
#messageContainer {
    position: absolute;
    top: 150px; /* Adjust this value to be below the "Field for pdf" */
    z-index: 10; /* Ensure this is on top of other elements */
}
.message {
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    width: fit-content;
    margin-left: 10px; /* Adjust to position correctly */
}
.error {
    color: red;
}
body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    font-family: 'Didact Gothic', sans-serif;
    color:#333;
    box-sizing: border-box;
}
#pdfLinks {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    width: 100%;
}
.settings-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 480px;
    max-height: 90vh; /* Ensures it won't be taller than 90% of the viewport height */
    overflow-y: auto; /* Enables scrolling if content exceeds the height */
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f8f9fa;
    display: none;
    z-index: 1001;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.settings-window .form-group {
    margin-bottom: 1rem;
}
.settings-window .form-group input {
    max-width: 45px;
}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none; /* Initially hidden */
}
.tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    pointer-events: none;
    display: none;
}
#fileName {
    display: inline;
    margin-left: 10px;
}
.toolWaiting {
    justify-content: center;
    align-items: center;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    pointer-events: none;
    display: none;
    top: 50%; /* Vertical center */
    left: 50%; /* Horizontal center */
    transform: translate(-50%, -50%); /* Adjust for the element's own size */
    text-align: center; /* Center text inside the box */
    z-index: 9999; /* Ensure it's on top of everything */
}
#additionalSettings input.form-control {
    max-width: 200px;
    width: auto;
}
