/* General Reset */
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, fieldset, form, input, label, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Main Container */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.setup-container {
    background: #fff;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Header Styling */
.setup-container h1 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.8rem;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

fieldset {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

legend {
    font-weight: bold;
    font-size: 1rem;
    color: #2c3e50;
    padding: 0 5px;
}

label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #34495e;
}

input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}

input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

/* Button Styling */
button {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

/* Responsiveness */
@media (max-width: 768px) {
    .setup-container {
        padding: 15px;
    }

    form {
        gap: 15px;
    }

    button {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}


/* Estilo para mensajes de error */
.error-message {
    background-color: #fbeaea; /* Fondo rojo pálido */
    color: #d9534f; /* Texto rojo */
    border: 1px solid #f5c6cb; /* Borde rojo claro */
    padding: 15px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 400px;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra para resaltar */
    font-family: 'Arial', sans-serif;
}
