/* /css/styles.css */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
}

.upload-zone {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: #0d6efd;
    cursor: pointer;
}

.upload-zone .bi-cloud-upload {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.preview-zone {
    background-color: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.preview-zone img {
    max-height: 300px;
    width: auto;
    margin: 0 auto;
    display: block;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#resultText {
    padding-right: 3rem;
    resize: vertical;
    min-height: 120px;
}