.contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

section {
    background: #fff;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.main-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin: 0;
}


.sorteo-label {
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.calendar-icon {
    font-size: 20px;
    color: #555;
}

.sorteo-fecha {
    background-color: #eee;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    gap: 10px;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 10px;
}

.sorteo-fecha input[type="date"] {
    border: none;
    background: transparent;
    font-weight: bold;
    font-size: 16px;
    padding: 0;
    outline: none;
    width: 120px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    text-align: center;
}

/* Section Titles */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centra todo el bloque (logo + texto) */
    gap: 15px;
    padding: 10px 20px;
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
    border-radius: 5px;
    background-color: #4CAF50;
    text-align: center;
}

.title-logo {
    height: 45px;
    width: auto;
    display: block;
}


.section-title.nacional {
    background-color: #00A559;
    color: #333;
    /* Green for Nacional */
}

.section-title.leidsa {
    background-color: #FFC107;
    /* Orange/Yellow for Leidsa */
    color: #333;
    /* Darker text for contrast */
}

.section-title.loteka {
    background-color: #0693e3;
    /* Orange/Yellow for Leidsa */
    color: #333;
    /* Darker text for contrast */
}

.section-title.real {
    background-color: #294b9a;
    /* Orange/Yellow for Leidsa */
    color: #333;
    /* Darker text for contrast */
}

.section-title.lotedom {
    background-color: #0b09cd;
    /* Orange/Yellow for Leidsa */
    color: #333;
    /* Darker text for contrast */
}

.section-title.primera {
    background-color: #fc0000;
    /* Orange/Yellow for Leidsa */
    color: #333;
    /* Darker text for contrast */
}

.section-title.suerte {
    background-color: #004aad;
    /* Orange/Yellow for Leidsa */
    color: #333;
    /* Darker text for contrast */
}

.section-title.newyork {
    background-color: #0060a7;
    /* Orange/Yellow for Leidsa */
    color: #333;
    /* Darker text for contrast */
}

.section-title.king {
    background-color: #1D7DC1;
    /* Orange/Yellow for Leidsa */
    color: #333;
    /* Darker text for contrast */
}

.section-title.anguilla {
    background-color: #f87400;
    /* Orange/Yellow for Leidsa */
    color: #333;
    /* Darker text for contrast */
}

/* Lottery Cards Container */
.lottery-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 3 columnas iguales */
    gap: 15px;
    margin-top: 15px;
    width: 100%;
    box-sizing: border-box;
}

/* Individual Lottery Card Styles */
.lottery-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    align-items: center;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.lottery-logo {
    width: 30%;
}

.numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.number-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6em;
    font-weight: bold;
    color: #fff;
    background-color: #1aa749;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

    /*margin: 3px;*/
    /*padding: 0 10px;*/
    /*box-shadow: inset -2px -2px 6px rgba(255, 255, 255, 0.3),
        inset 2px 2px 6px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);*/
    /* efecto de profundidad */
    /*background: linear-gradient(to bottom, #3cc87b, #1aa749);*/
    /* verde bola base */
    /*transition: transform 0.2s ease;*/
}

.number-circle.long-number {
    border-radius: 10px;
    font-size: 1.2em;
    min-width: 80px;
    padding: 0 10px;
}

.numbers.nacional .number-circle {
    background-color: #00A559;
    /* Green circles for Nacional */
}

.numbers.leidsa .number-circle {
    background-color: #F44336;
    /* Red circles for Leidsa */
}

.numbers.loteka .number-circle {
    background-color: #0693e3;
    /* Red circles for Leidsa */
}

.numbers.real .number-circle {
    background-color: #294b9a;
    /* Red circles for Leidsa */
}

.numbers.lotedom .number-circle {
    background-color: #0b09cd;
    /* Red circles for Leidsa */
}

.numbers.primera .number-circle {
    background-color: #fc0000;
    /* Red circles for Leidsa */
}

.numbers.suerte .number-circle {
    background-color: #132484;
    /* Red circles for Leidsa */
}

.numbers.newyork .number-circle {
    background-color: #0060a7;
    /* Red circles for Leidsa */
}

.numbers.king .number-circle {
    background-color: #1D7DC1;
    /* Red circles for Leidsa */
}

.numbers.anguilla .number-circle {
    background-color: #f87400;
    /* Red circles for Leidsa */
}

.c-f {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    font-size: 0.9em;
    color: #777;
    margin-top: auto;
}

.estadisticas {
    font-size: 12px;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    cursor: pointer;
}

.estadisticas.nacional {
    background: #00A559;
    color: white;
    width: 60%;
}

.estadisticas.leidsa {
    background: #f44336;
    color: white;
    width: 60%;
}

.estadisticas.loteka {
    background: #0693e3;
    color: white;
    width: 60%;
}

.estadisticas.real {
    background: #294b9a;
    color: white;
    width: 60%;
}

.estadisticas.lotedom {
    background: #0b09cd;
    color: white;
    width: 60%;
}

.estadisticas.primera {
    background: #fc0000;
    color: white;
    width: 60%;
}

.estadisticas.suerte {
    background: #132484;
    color: white;
    width: 60%;
}

.estadisticas.newyork {
    background: #0060a7;
    color: white;
    width: 60%;
}

.estadisticas.king {
    background: #1D7DC1;
    color: white;
    width: 60%;
}

.estadisticas.anguilla {
    background: #f87400;
    color: white;
    width: 60%;
}

.estadisticas {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #007bff;
    /* Blue for statistics link */
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.estadisticas .material-icons {
    font-size: 1.1em;
    color: #007bff;
}

.sorteo-date {
    white-space: nowrap;
    font-size: 10px;
    /* Prevent date from wrapping */
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .main-title {
        font-size: 2em;
    }

    .sorteo-fecha {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        text-align: center;
    }

    .lottery-cards {
        grid-template-columns: 1fr;
        /* Stack cards on smaller screens */
    }

    .number-circle {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
    }

    .main-title {
        font-size: 1.8em;
    }

    .sorteo-fecha {
        font-size: 1em;
        padding: 6px 10px;
    }

    .section-title {
        font-size: 1.5em;
        padding: 8px 15px;
    }

    .lottery-card {
        padding: 15px;
        text-align: center;
    }

    .lottery-logo {
        max-width: 150px;
    }
}

.tarjeta {
    width: 200px;
    border: 2px solid #000;
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    font-family: Arial, sans-serif;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    min-height: 255px;
    max-height: 255px;
}

.tarjeta img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.numero {
    font-size: 36px;
    font-weight: bold;
    margin: 10px 0;
}

.descripcion {
    font-size: 12px;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-decoration: none;
  transition: background-color 0.3s ease;
  z-index: 9999;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  text-decoration: none;
  color: white;
}

.whatsapp-icon {
  font-size: 24px;
}

.whatsapp-number {
  font-size: 14px;
}

.vip-badge {
  background-color: gold;
  color: black;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  user-select: none;
}