:root {
    --primary-color: #130c4b;
    --secondary-color: #4CAF50;
    --danger-color: #f44336;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --error-color: #dc3545;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

h1,
h2,
h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-container {
    margin-bottom: 25px;
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

input {
    padding: 10px 15px;
    margin: 8px 0;
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(19, 12, 75, 0.1);
}

button {
    cursor: pointer;
    padding: 10px 20px;
    margin: 8px 5px 8px 0;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

button.primary {
    background-color: var(--primary-color);
    color: white;
}

button.primary:hover {
    background-color: #0a0752;
    transform: translateY(-2px);
}

button.secondary {
    background-color: var(--secondary-color);
    color: white;
}

button.secondary:hover {
    background-color: #3e8e41;
}

button.danger {
    background-color: var(--danger-color);
    color: white;
}

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

#resultado {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    font-size: 16px;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

#datos-container {
    display: none;
}

.item {
    padding: 12px 15px;
    margin: 8px 0;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}

.item:hover {
    transform: translateX(5px);
}

.item button {
    margin: 0;
    padding: 5px 10px;
    font-size: 14px;
}

#lista-items {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
    vertical-align: middle;
}

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

.checkbox-group {
    margin: 15px 0;
}

.checkbox-item {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.checkbox-item input {
    width: auto;
    margin-right: 10px;
    transform: scale(1.2);
}

.hidden {
    display: none !important;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.flex-item {
    flex: 1;
    min-width: 250px;
}

.section-title {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.email-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.empty-state {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    font-style: italic;
}