/* Reset de estilos */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

/* Fondo */
body {
    background: url('../img/background-register.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Contenedor del formulario */
.registro-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 450px;
    text-align: center;
    animation: slideIn 0.5s ease-in-out;
}

/* Animación de entrada */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Título */
h2 {
    margin-bottom: 15px;
    color: #333;
    font-size: 22px;
    font-weight: bold;
}

/* Grupo de inputs */
.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Estilo para el input de archivos */
input[type="file"] {
    border: none;
    padding: 5px;
}

/* Botón */
.btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #218838;
}

/* Mensaje de error */
.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Enlace de inicio de sesión */
.login-link {
    font-size: 14px;
    margin-top: 10px;
}

.login-link a {
    color: #28a745;
    text-decoration: none;
    font-weight: bold;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .registro-container {
        width: 90%;
        padding: 20px;
    }
}
