.ldpe-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ldpe-card {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.ldpe-button-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.ldpe-button {
    background-color: #2271b1;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.ldpe-button:hover {
    background-color: #135e96;
}

.ldpe-button-danger {
    background-color: #d63638;
}

.ldpe-button-danger:hover {
    background-color: #b32d2e;
}

.ldpe-button-debug {
    background-color: #6c757d;
}

.ldpe-button-debug:hover {
    background-color: #5a6268;
}

.ldpe-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 3px;
    display: none;
}

.ldpe-status.error {
    background-color: #ffecec;
    color: #d63638;
    border: 1px solid #f5c2c7;
}

.ldpe-status.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.ldpe-status.warning {
    background-color: #fff8e1;
    color: #f57f17;
    border: 1px solid #ffe082;
}

.ldpe-danger-zone {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.ldpe-export-section {
    margin-top: 20px;
}

.ldpe-export-section h3 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 500;
}

.ldpe-debug-output {
    margin-top: 10px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    max-height: 300px;
    overflow-y: auto;
}

.ldpe-debug-output h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    color: #495057;
}

/* Estilos para proceso de importación */
.ldpe-processing {
    display: flex;
    align-items: center;
    padding: 15px;
}

.ldpe-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #2271b1;
    animation: ldpe-spin 1s ease-in-out infinite;
    margin-right: 15px;
}

@keyframes ldpe-spin {
    to { transform: rotate(360deg); }
}

.ldpe-import-results {
    padding: 10px;
}

.ldpe-import-results h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 500;
}

.ldpe-import-results h4 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
}

.ldpe-results-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.ldpe-results-table th,
.ldpe-results-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.ldpe-results-table th {
    font-weight: 500;
    width: 60%;
}

.ldpe-error-summary {
    background-color: #fff8e1;
    border-left: 4px solid #f57f17;
    padding: 10px 15px;
    margin-top: 15px;
}

.ldpe-error-summary ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.ldpe-error-summary li {
    margin-bottom: 5px;
}

input[type="file"] {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    padding: 10px 0;
}