@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f4f7fc;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: 100vh;
}

.logo {
    display: block;
    max-width: 120px;
    margin: 0 auto 20px auto; /* Centra y agrega espacio inferior */
}

.registro-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
    width: 100%;
    max-width: 500px;
}

h2 {
    margin-bottom: 20px;
    color: #111827;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 10px 12px;
    margin-top: 6px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #f9fafb;
    transition: border 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus {
    outline: none;
    border-color: #007bff;
}

button {
    margin-top: 20px;
    width: 100%;
    background-color: #007bff;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

.mensaje {
    background-color: #ffcc00;
    color: #333;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    border: 1px solid #fde68a;
}

.botones-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 30px;
}

.botones-container a {
    text-align: center;
    background-color: #e5e7eb;
    padding: 10px 0;
    border-radius: 8px;
    text-decoration: none;
    color: #111827;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.botones-container a:hover {
    background-color: #cbd5e1;
}

/* Responsive */
@media (max-width: 600px) {
    .botones-container {
        flex-direction: column;
    }

    .botones-container a {
        margin-top: 10px;
    }
}