*
{
    margin: 0;
    padding: 0;
}
body
{
     background-color: #efefef;
}
a{
    text-decoration: none;
    color:#000;
}
label>a
{
    color:#000;
}
#linea_negra
{
    width: 100%;
    background-color:#000;
    height: 5px;
}
#cuaresma
{
    width: 100%;
    padding-bottom: 16px;
    padding-top: 16px;
    color:#000;
    margin-top: 6px;
    font-size: 28px;
}
#imagen_primaria
{
    margin-bottom: -5px;
}
#imagen_secundaria
{
    background: url(../imagenes/login_san_felipe.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0,0;
    background-attachment: fixed;
    height: 420px;
}
#imagen_secundaria_movil
{
    margin-bottom: -5px;
}
#incensario
{
    background: url(../imagenes/incensarios.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0,0;
    background-attachment: fixed;
    height: 320px;
}
#incensario_movil
{
    margin-bottom: -5px;
}
#cuerpo_inicio
            {
                margin: 0 auto;
                max-width: 1300px;
                overflow: hidden;
                
            }
            #usuario_nuevo
            {
                margin-left: 10%;
                margin-right: 5%;
                font-size: 22px;
                margin-top: 2%;
            }
            .columna
            {
                float: left;
                
                
                overflow: hidden;
                margin-bottom: 5%;
            }
            #columna1
            {
                width: 35%;
                margin-right: 5%;
                margin-left: 10%;


            }
            #columna2
            {
                width: 35%;
                margin-right: 10%;
                margin-left: 5%;
                margin-top: 40px;
            }

                        
@media screen and (max-width: 1150px) 
{
    #usuario_nuevo
    {
        margin-left: 5%;
    }
    #columna1
    {
        width: 40%;
        margin-right: 5%;
        margin-left: 5%;
    } 
    #columna2
    {
        width: 40%;
        margin-right: 5%;
        margin-left: 5%;
    } 
}
@media screen and (max-width: 1050px) 
{
    #usuario_nuevo
    {
        margin-left: 3%;
    }
    #columna1
    {
        width: 45%;
        margin-right: 2%;
        margin-left: 3%;
    } 
    #columna2
    {
        width: 45%;
        margin-right: 3%;
        margin-left: 2%;
    } 
    #imagen_secundaria, #imagen_primaria
    {
        display: none;
    }
    #incensario
    {
        display: none;
    }
}
@media screen and (min-width: 1051px) 
{
    #imagen_secundaria_movil
    {
        display: none;
    }
    #incensario_movil
    {
        display: none;
    }
}


.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #000;
    font-size: 18px;
}

.input-container {
    position: relative;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="date"],input[type="number"],input[type="password"], input[type="file"],select {
    width: 100%;
    padding: 10px;
    padding-right: 40px; /* Espacio para el ícono */
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none; /* Ocultar íconos predeterminados en WebKit */
}

input[type="date"] {
    position: relative;
}

input:focus, select:focus {
    border-color: #000;
    outline: none;
}

.input-container i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: color 0.3s;
}

.input-container input:focus + i, 
.input-container select:focus + i {
    color: #000;
}
button
{
    background-color: #000;
    color: #fff;
}
#boton, #boton2, #boton3 {
    width: 100%;
    padding: 10px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 18px;
}

#boton:hover , #boton2:hover, #boton3:hover{
    background-color: #353535;
}

/* Estilos para radio buttons */
.radio-label {
    margin-right: 20px;
    display: inline-block;
}

.input-container input[type="radio"] {
    margin-right: 5px;
}

a
{
    text-decoration: none;
}
#olvido
{
    text-decoration: none;
    color:#575757;
    text-align: center;
    font-size: 19px;
    margin-bottom: 15px;
}
#indicaciones
{
    text-align: justify;
    font-size: 18px;
    margin-bottom: 10px;
}
@media screen and (max-width: 800px) 
{
    #cuaresma
    {
        padding-bottom: 0px;
        padding-top: 10px;
        margin-top: 10px;
        font-size: 23px;
    }
    #columna1
    {
        display: none;
    }
    #usuario_nuevo
    {
        margin-left: 5%;
        font-size: 21px;
    }
    #columna2
    {
        width: 90%;
        margin-right: 5%;
        margin-left: 5%;
    } 
    #columna2 p
    {
        font-size: 18px;
        
    }
}

/* Responsive */
@media (max-width: 1000px) {
    .form-row {
        display: flex;
        flex-direction: column;
    }
    #portada{
        display: none;
    }
    .form-container {
        width: 100%;
    }
}

@media (min-width: 1001px) {
    .form-row {
        display: flex;
        justify-content: space-between;
    }

    .form-row .form-group {
        width: 48%;
    }
    #portada_movil{
        display: none;
    }
}

/* --- NUEVOS ESTILOS GLASSMORPHISM PREMIUM --- */

#login-premium-bg {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background: url('../imagenes/login_san_felipe.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

#registro-premium-bg {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background: url('../imagenes/fondo_registro.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.login-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

#cuerpo_inicio_moderno {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
}

.login-glass-card {
    background: rgba(25, 25, 25, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    color: #fff;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo-devoto {
    width: 120px;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.login-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.login-accent-line {
    width: 50px;
    height: 3px;
    background: #8b1c31; /* Vino Tinto */
    margin: 15px auto;
}

.login-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #bbb;
}

.modern-input label {
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.modern-input input, .modern-input select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 8px;
    padding: 14px 15px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.modern-input input::placeholder {
    color: #777;
}

.modern-input select option {
    background-color: #000;
    color: #fff;
}

.modern-input input:focus, .modern-input select:focus {
    background: rgba(0, 0, 0, 0.6);
    border-color: #8b1c31;
    box-shadow: 0 0 10px rgba(139, 28, 49, 0.3);
}

.modern-input i {
    color: #8b1c31;
    font-size: 16px;
    transition: color 0.3s ease;
}

.modern-input input:focus + i, .modern-input select:focus + i {
    color: #e54c6e; /* Un tono más claro del vino tinto para que resalte al enfocar */
}

/* Radio/Checkbox groups */
.gender-selection {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    justify-content: center;
}

.modern-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    cursor: pointer;
}

.modern-checkbox input[type="checkbox"] {
    appearance: none;
    background-color: rgba(0, 0, 0, 0.4);
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: grid;
    place-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.modern-checkbox input[type="checkbox"]::before {
    content: "";
    width: 10px;
    height: 10px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #fff;
    background-color: #fff;
    transform-origin: center;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.modern-checkbox input[type="checkbox"]:checked {
    background-color: #8b1c31;
    border-color: #8b1c31;
}

.modern-checkbox input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.terms-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 25px;
}

.forgot-password {
    display: block;
    text-align: right;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #aaa;
    margin-top: 10px;
    margin-bottom: 25px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #8b1c31;
}

.submit-group {
    margin-top: 10px;
}

.btn-premium {
    width: 100%;
    background: linear-gradient(135deg, #8b1c31 0%, #5a1120 100%);
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(139, 28, 49, 0.3);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(139, 28, 49, 0.5);
    background: linear-gradient(135deg, #a0223a 0%, #6d1527 100%);
}

.receipt-details-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px 25px;
    margin-top: 10px;
    margin-bottom: 20px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 15px;
}

.receipt-row:last-child {
    border-bottom: none;
}

.receipt-row span {
    color: #aaa;
    font-weight: 500;
}

.receipt-row strong {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media screen and (max-width: 600px) {
    .login-glass-card {
        padding: 25px 10px;
    }
    .login-title {
        font-size: 24px;
    }
    #login-premium-bg {
        padding: 10px 5px;
        background: url('../imagenes/rostros.png') no-repeat center center;
        background-size: cover;
        background-attachment: fixed;
    }
    #registro-premium-bg {
        padding: 10px 5px;
        background: url('../imagenes/fondo_registro.png') no-repeat center center;
        background-size: cover;
        background-attachment: fixed;
    }
}

/* --- DASHBOARD PREMIUM --- */
.dashboard-wrapper {
    background: #1a1a1a;
    min-height: 85vh;
    padding-bottom: 60px;
    font-family: 'Inter', sans-serif;
    color: #e0e0e0;
}

.dashboard-banner {
    width: 100%;
    position: relative;
    background: #0d0d0d;
}

.dashboard-banner-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.8;
}

.dashboard-title-container {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #444 0%, #222 100%);
    padding: 15px 40px;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

.dashboard-container {
    max-width: 1100px;
    margin: 80px auto 0;
    padding: 0 20px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.dashboard-card {
    background: #222;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border: 1px solid #333;
}

.dashboard-card-highlight {
    border-top: 4px solid #8b1c31;
}

.card-header {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.card-header i {
    color: #8b1c31;
}

.card-body p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.dashboard-list {
    list-style: none;
    padding: 0;
}

.dashboard-list li {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.dashboard-list li::before {
    content: "\f111";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 8px;
    color: #8b1c31;
}

.card-actions {
    margin-top: 25px;
    text-align: center;
}

/* TICKET VIP */
.dashboard-ticket-section {
    max-width: 600px;
    margin: 0 auto;
}

.ticket-section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #fff;
    margin-bottom: 25px;
}

.ticket-vip {
    background: linear-gradient(135deg, #111 0%, #222 100%);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 1px solid #444;
    overflow: hidden;
    position: relative;
}

.ticket-vip-header {
    background: #333;
    padding: 20px;
    text-align: center;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ticket-vip-body {
    padding: 30px;
}

.ticket-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.ticket-data-item {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

.ticket-label {
    display: block;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.ticket-value {
    display: block;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}

.ticket-vip-footer {
    padding: 20px 30px;
    background: #151515;
    border-top: 1px dashed #444;
    text-align: center;
}

.ticket-info {
    font-size: 13px;
    color: #777;
    margin-top: 15px;
}

@media screen and (max-width: 800px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-title {
        font-size: 15px;
    }
    .dashboard-title-container {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 30px auto;
        padding: 10px 20px;
        width: 90%;
    }
    .dashboard-banner {
        background: transparent;
    }
    .dashboard-container {
        margin-top: 15px;
    }
    .ticket-data-grid {
        grid-template-columns: 1fr;
    }
}