/* Estilos personalizados para la página de registro */

/* Fondo con textura (igual que login) */
body.registro-page {
    background-color: #1a1a1a;
    background-image: url('../img/fondito.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

/* Overlay oscuro para mejorar contraste */
body.registro-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.75);
    z-index: 0;
}

/* Sobrescribir estilos del container-fluid de base.html */
body.registro-page .container-fluid {
    background-color: transparent !important;
    background-image: none !important;
}

body.registro-page > .container-fluid,
body.registro-page .container {
    position: relative;
    z-index: 1;
}

/* Mantener navbar visible pero ocultar botones innecesarios */
body.registro-page .navbar-toggler,
body.registro-page .navbar .btn-outline-light {
    display: none !important;
}

/* Asegurar que el logo esté centrado ocupando todo el espacio */
body.registro-page .navbar-brand {
    margin: 0 auto !important;
}

body.registro-page main {
    padding: 0 !important;
    margin: 0 auto;
    width: 100%;
    padding-top: 3rem !important;
}

/* Card del registro */
.registro-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header con color #400C1E */
.registro-card .card-header {
    background-color: #400C1E !important;
    color: white !important;
    padding: 1.5rem;
    border-bottom: none;
}

.registro-card .card-header h4 {
    margin: 0;
    font-weight: 400;
}

/* Body del card */
.registro-card .card-body {
    padding: 1.25rem;
    background-color: #f8f9fa;
}

/* Footer del card */
.registro-card .card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 0.75rem 1.5rem;
}

/* Botón de registrar con color #23272b */
.registro-card .btn-registro {
    background-color: #23272b !important;
    border-color: #23272b !important;
    color: white !important;
    font-weight: 600;
    padding: 0.65rem;
    transition: all 0.3s ease;
}

.registro-card .btn-registro:hover {
    background-color: #16191C !important;
    border-color: #16191C !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 39, 43, 0.4);
}

.registro-card .btn-registro:active {
    transform: translateY(0);
}

/* Reducir espaciado entre campos del formulario */
.registro-card .mb-3 {
    margin-bottom: 0.5rem !important;
}

.registro-card .form-group {
    margin-bottom: 0.5rem;
}

/* Estilos para los campos del formulario */
.registro-card .form-control {
    border-radius: 6px;
    padding: 0.5rem;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.registro-card .form-control:focus {
    border-color: #400C1E;
    box-shadow: 0 0 0 0.2rem rgba(64, 12, 30, 0.25);
}

/* Enlaces */
.registro-card a {
    color: #400C1E;
    text-decoration: none;
    font-weight: 500;
}

.registro-card a:hover {
    color: #62182F;
    text-decoration: underline;
}

/* Textos de ayuda */
.registro-card .form-text {
    color: #6c757d !important;
    font-size: 0.875rem;
}
