html, body {
    height: 80%;
    margin: 0;
    padding: 0;
}
.input-group {
    margin-top: auto;
}
.hidden {
    display: none;
}

.document-preview {
    position: relative;
    display: inline-block;
}

.short-text {
    display: inline-block;
    color: #007bff;
    cursor: pointer;
}

.full-text {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    white-space: pre-wrap;
    width: auto; /* Adjust width as needed */
    min-width: 400px; /* Ensure minimum width for readability */
    left: -150px; /* Align to the left edge of the parent */
}

.document-preview:hover .full-text {
    display: block;
}

.rounded-image {
    border-radius: 15px; /* Adjust the radius as desired */
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.loading-overlay.hidden {
    display: none;
}
