/*@tailwind base;
@tailwind components;
@tailwind utilities;
*/

body {
    background-color: #f8f9fa;
    color: #212529;
}

.container.karib-pdf {
    max-width: 800px;
    padding: 2rem;
}

.form-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.form-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.form-card .card-header {
    background: none;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
    font-size: 1.25rem;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.form-section {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.form-section-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #495057;
}

.form-check-label, .form-label {
    font-weight: 500;
}

.appliances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #6c757d;
    background-color: rgba(13, 110, 253, 0.03);
}

.upload-area.border-primary {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

#file-info {
    max-width: 100%;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

#file-name {
    max-width: 200px;
    display: inline-block;
}

.btn-submit {
    background-color: #0d6efd;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    margin-top: 1rem;
}

/* Add animation for the modal */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    transform: none;
}

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 1.25rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 1.25rem;
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 5rem;
    height: 5rem;
}

.loading-text {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: #0d6efd;
}
