* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    text-align: center;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1 {
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
}

#iniciarBtn {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

#iniciarBtn:hover {
    background: #5568d3;
}

#botonArea {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.estado-procesando {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

#resultado {
    margin-top: 30px;
    text-align: left;
    min-height: 200px;
}

#resultado p {
    padding: 10px;
    margin: 5px 0;
    background: #f0f0f0;
    border-radius: 5px;
    border-left: 4px solid #667eea;
}

#resultado p.completo {
    background: #d4edda;
    border-left-color: #28a745;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

#resultado p.error {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

#resultado p.incidencias {
    background: #fff3cd;
    border-left-color: #ffc107;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

.footer {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 0 1.5rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.5rem;
    width: 100%;
    text-align: center;
}

.footer a {
    color: #000000;
    text-decoration: none;
}