/* Colores principales */
:root {
    --color-primario: #a0244c;
    --color-secundario: #ffffff;
    --color-texto: #333333;
    --degradado-fondo: radial-gradient(circle at center, rgba(160,36,76,0.08) 0%, rgba(255,255,255,0) 70%);
}

/* Estilos generales */
body {
    background-color: var(--color-secundario);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: var(--degradado-fondo);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
    
}

.registro-container {
    background-color: transparent;
    padding: 30px 0;
}

.registro-card {
    border-radius: 15px;
    border: none;
    background-color: var(--color-secundario);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    margin: 20px 0;
}

/* Sección de contenido */
.card-body {
    padding: 4rem;
    margin: 15px;
    background-color: var(--color-secundario);
    border-radius: 12px;
    box-shadow: 
        inset 0 0 0 1px rgba(160, 36, 76, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.card-body::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, 
                  rgba(160,36,76,0.05) 0%, 
                  rgba(255,255,255,0.2) 50%, 
                  rgba(160,36,76,0.05) 100%);
    z-index: -1;
    border-radius: 15px;
}

.card-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primario);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-primario);
    border-radius: 3px;
}

h2 {
    font-size: 1.8rem;
    color: var(--color-texto);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--color-texto);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Sección de imagen */
.registro-image {
    background-color: rgba(160, 36, 76, 0.05);
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.registro-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(160,36,76,0.1) 0%, rgba(255,255,255,0) 70%);
}

.registro-image img {
    max-height: 400px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* Botones */
.btn {
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-entrada {
    background-color: var(--color-primario);
    color: white;
    border: 2px solid var(--color-primario);
}

.btn-entrada:hover {
    background-color: transparent;
    color: var(--color-primario);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(160, 36, 76, 0.3);
}

.btn-salida {
    background-color: transparent;
    color: var(--color-primario);
    border: 2px solid var(--color-primario);
}

.btn-salida:hover {
    background-color: var(--color-primario);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(160, 36, 76, 0.3);
}

/* Responsive */
@media (max-width: 767.98px) {
    .registro-card {
        border-radius: 15px;
        margin: 10px 0;
    }
    
    .registro-image {
        display: none;
    }
    
    .card-body {
        padding: 2.5rem;
        margin: 10px;
    }
    
    .card-title {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}