/* Fondo con imagen contrastada */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: url('../img/registro.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}

/* Overlay para oscurecer el fondo */
body::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); /* oscurece la imagen */
    z-index: 0;
}

/* Contenedor del registro */
.register-container {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    width: 420px;
    text-align: center;
}

.register-container h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: bold;
}

/* Inputs y selects */
.register-container label {
    display: block;
    text-align: left;
    margin-top: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.register-container input,
.register-container select {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

/* Botones */
button, .btn, .btn-warning {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    cursor: pointer;
    border: none;
}

button.btn, .btn {
    background: #1abc9c;
    color: #fff;
}

button.btn:hover, .btn:hover {
    background: #16a085;
}

.btn-warning {
    background: #f39c12;
    color: #fff;
}

.btn-warning:hover {
    background: #d35400;
}