/* Estilos básicos para el formulario de cotización */

/* Estados de archivo seleccionado */
.file-upload-wrapper.has-file {
    border-color: #002674;
    background-color: rgba(0, 38, 116, 0.05);
}

.file-upload-text.file-selected {
    color: #002674;
    font-weight: 500;
}

/* Estados de carga del formulario */
.form-submitting {
    opacity: 0.7;
    pointer-events: none;
}

.form-submitting .btn-submit {
    background: #6c757d !important;
    cursor: not-allowed;
}

/* Animación del SVG spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

/* File selection list styles */
.file-selection-list {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.file-selection-list h4 {
    color: #002674;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 8px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.file-item:hover {
    background: #f8f9fa;
    border-color: #002674;
}

.file-name {
    flex: 1;
    font-size: 14px;
    color: #495057;
}

.remove-file-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-file-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Mejoras en el botón de envío */
.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-submit:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Feedback visual para archivos válidos */
.file-upload-wrapper.has-file .file-upload-button {
    background-color: #28a745;
} 