body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f6f8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.registro-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-sizing: border-box;
}

h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

form input[type="text"],
form input[type="date"],
form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

form input:focus,
form textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

button[type="submit"],
.volver-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

button[type="submit"] {
    background-color: #4CAF50;
    color: white;
}

button[type="submit"]:hover {
    background-color: #388E3C;
}

.volver-btn {
    background-color: #007bff;
    color: white;
    margin-top: 10px;
    font-weight: 500;
}

.volver-btn:hover {
    background-color: #0056b3;
}

.mensaje {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}