﻿/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a {
  color: #0077cc;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}
body {
    font-family: Arial, sans-serif;
    background-color: #ddf5d7;
    text-align: center;
    padding: 20px;
}

header {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem; /* tamaño (ejemplo: 40px) */
    font-family: 'Arial Black', sans-serif; /* tipo de letra */
    color: #5add1d; /* color */
    text-align: center; /* alineación */
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #43bd12;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

    .btn:hover {
        background: #b71c1c;
    }


body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f8f8f8;
}

/* Barra de navegación */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #27b617;
    padding: 15px 30px;
}

    .navbar .logo {
        color: white;
        font-size: 20px;
        text-decoration: none;
        font-weight: bold;
    }

    .navbar .menu {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
    }

        .navbar .menu li {
            margin-left: 20px;
        }

        .navbar .menu a {
            color: white;
            text-decoration: none;
            font-size: 16px;
        }

            .navbar .menu a:hover {
                text-decoration: underline;
            }

/* Contenido */
.contenido {
    padding: 20px;
    text-align: center;
}



    .btn:hover {
        background: #41ad22;
    }

/* Formulario */
form {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    margin: auto;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    text-align: left;
}

    form label {
        font-weight: bold;
    }

    form input, form button {
        width: 100%;
        padding: 10px;
        margin-top: 8px;
        border: 1px solid #ccc;
        border-radius: 6px;
    }

    form button {
        background: #c62828;
        color: white;
        border: none;
        cursor: pointer;
        font-size: 16px;
    }

        form button:hover {
            background: #b71c1c;
        }

/* Comprobante */
#comprobante {
    margin-top: 20px;
    padding: 15px;
    border: 2px dashed #c62828;
    background: #fff;
    border-radius: 10px;
}


.hero {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}


.opciones {
    background-color: #bdf6bd;
    padding: 15px;
    box-shadow: 0px 4px 10px rgba(0,0,0,2);
    margin-bottom: 20px;
}

.info {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
    text-align: left;
}

h2 {
    font-size: 2.5rem; /* tamaño (ejemplo: 28px) */
    font-family: 'Georgia', serif;
    color: #259a0e;
    margin-top: 20px; /* espacio arriba */
    margin-bottom: 10px; /* espacio abajo */
}
h3 {
    font-size: 1.5rem; /* tamaño (ejemplo: 28px) */
    font-family: 'Georgia', serif;
    color: #259a0e;
    margin-top: 20px; /* espacio arriba */
    margin-bottom: 10px; /* espacio abajo */
}
.baner {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.sorteos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en escritorio */
    gap: 20px;
    justify-items: stretch;
}

.boleto-card {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* Para tablets (pantallas medianas, menor a 992px) */
@media (max-width: 992px) {
    .sorteos-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    }
}

/* Para celulares (pantallas pequeñas, menor a 600px) */
@media (max-width: 600px) {
    .sorteos-grid {
        grid-template-columns: 1fr; /* 1 columna */
    }
}

/* Título centrado */
.titulo-compras {
    text-align: center;
    margin-bottom: 20px;
}

/* Tabla general */
.tabla-compras {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

    /* Bordes y colores */
    .tabla-compras th,
    .tabla-compras th {
        text-align: center;
        font-weight: bold;
        border: 1px solid #ccc;
        padding: 8px;
        background-color: #f4f4f4;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    /* Encabezados */
    .tabla-compras th {
        text-align: center;
        font-weight: bold;
        background-color: #f5f5f5;
    }

    /* Datos alineados a la izquierda */
    .tabla-compras td {
        text-align: left;
        border: 1px solid #ccc;
        padding: 6px;
        font-size: 14px;
    }

    /* Filas alternas */
    .tabla-compras tr:nth-child(even) {
        background-color: #fafafa;
    }

    /* Folio en negrita */
    .tabla-compras .folio {
        font-weight: bold;
        color: #333;
    }

    /* Pagado: Sí/No */
    .tabla-compras .pagado {
        text-align: center;
        font-weight: bold;
    }

        .tabla-compras .pagado:contains("✔️") {
            color: green;
        }

        .tabla-compras .pagado:contains("❌") {
            color: red;
        }

    /* Encabezados fijos */
    .tabla-compras thead th {
        position: sticky;
        top: 0;
        background-color: #f5f5f5; /* para que no se vea transparente */
        z-index: 2; /* asegura que queden arriba del contenido */
    }

.btn-boleto {
    width: 45px;
    height: 15px;
    font-size: 16px;
    text-align: center;
    
}

.tabla-resumen {
    border-collapse: collapse;
    margin-bottom: 15px;
    width: 300px; /* ancho fijo más compacto */
    text-align: left; /* alinear texto a la izquierda */
}

    .tabla-resumen td {
        border: 1px solid #ddd;
        padding: 8px;
        font-size: 14px;
    }

        .tabla-resumen td:first-child {
            font-weight: bold;
            background-color: #f9f9f9; /* un tono gris claro para distinguir */
            width: 150px; /* ancho de la columna de títulos */
        }

.resumen-boletos h4 {
    margin: 10px 0 5px 0;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
}

.payment-button {
    max-width: 250px;
    width: 100%;
    height: auto;
    transition: transform 0.2s ease-in-out;
}

    .payment-button:hover {
        transform: scale(1.05); /* efecto hover bonito */
    }

/* Carrusel */


.carousel-images {
    display: flex;
    width: 500%; /* 5 imágenes -> 100% x 5 */
    animation: slide 20s infinite;
}

    .carousel-images img {
        width: 20%; /* 👈 Cada imagen ocupa 1/5 del total */
        height: 400px;
        object-fit: contain;
    }

/* Animación automática: 5 imágenes, 4s cada una */
@keyframes slide {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-20%);
    }

    40% {
        transform: translateX(-20%);
    }

    45% {
        transform: translateX(-40%);
    }

    60% {
        transform: translateX(-40%);
    }

    65% {
        transform: translateX(-60%);
    }

    80% {
        transform: translateX(-60%);
    }

    85% {
        transform: translateX(-80%);
    }

    100% {
        transform: translateX(-80%);
    }
}


.carousel {
    position: relative;
    width: 100%;
    max-height: 400px;
    overflow: hidden;
}

.carousel-item {
    display: none;
    width: 100%;
    height: 400px;
    text-align: center;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item.active {
    display: block;
}



.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px; /* espacio entre íconos */
}

    .social-links img {
        width: 40px; /* ajusta según prefieras */
        height: 40px;
        transition: transform 0.2s ease;
        cursor: pointer;
    }

        .social-links img:hover {
            transform: scale(1.2); /* efecto zoom al pasar el mouse */
        }