body {
    background: linear-gradient(to right, #a1c4fd, #c2e9fb);
    font-family: 'Arial', sans-serif;
    color: #333;
    text-align: center;
    padding: 20px;
}

.instructions {
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.instructions p {
    font-size: 24px;
    color: #2c3e50;
}

.instructions strong {
    color: #2980b9;
}

.instructions p:first-child {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.power_controls {
    text-align: left;
}

.power td {
    cursor: pointer;
    padding: 10px;
    background: #fff;
    color: #2c3e50;
    border-radius: 5px;
    transition: background 0.3s;
}

.power td:hover {
    background: #ecf0f1;
}

#spin_button {
    margin-top: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}

#spin_button:hover {
    transform: scale(1.1);
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    display: inline;
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
}

nav a:hover {
    text-decoration: underline;
}

nav li a {
    display: inline-block;
    padding: 5px 2px;
    border-radius: 5px;
}

nav li a:hover {
    background-color: #2980b9;
}

.the_wheel {
    background-image: url(../imagenes/wheel_back.png);
    background-position: center;
    background-repeat: none;
}

h1,
p {
    margin: 0;
}

.power_controls {
    margin-right: 70px;
}

.html5_logo {
    margin-left: 70px;
}

table.power {
    background-color: #cccccc;
    cursor: pointer;
    border: 1px solid #333333;
}

table.power th {
    background-color: white;
    cursor: default;
}

td.pw1 {
    background-color: #6fe8f0;
}

td.pw2 {
    background-color: #86ef6f;
}

td.pw3 {
    background-color: #ef6f6f;
}

.clickable {
    cursor: pointer;
}

.margin_bottom {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav li {
        margin-bottom: 10px;
    }

    .instructions p {
        font-size: 18px;
    }

    .instructions p:first-child {
        font-size: 1.2em;
    }

    .power_controls {
        text-align: center;
        margin-right: 0;
    }

    .the_wheel {
        width: 100%;
        height: auto;
    }

    canvas {
        width: 100%;
        height: auto;
    }
}

  
/** Boton reiniciar */

.boton-reiniciar {
    display: inline-block;
    width: 100px; 
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
}

.boton-reiniciar:hover {
    background-color: #0056b3;
    color: #fff;
    transform: scale(1.05);
}

.boton-reiniciar:active {
    transform: scale(0.95);
}


/** Modal */
.modal-dialog {
    max-width: 80%; 
}

/** Botones de modificar y editar */
.btnae {
    display: inline-flex; /* Alinear icono en línea */
    justify-content: center; /* Centrar el icono */
    align-items: center; /* Alinear verticalmente */
    width: 30px; /* Ancho del botón */
    height: 30px; /* Alto del botón */
    padding: 0; /* Sin padding adicional */
}

.btnae i {
    font-size: 1.2em; /* Ajustar el tamaño del icono */
}

/** Mostrar fechas */
.date-range-container {
    font-family: Arial, sans-serif;

    padding: 10px;
    border: 1px solid #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.date-range-label {
    font-weight: bold;
    color: #333;
}
.date-range-values {
    color: #555;
    display: flex;
    flex-direction: column;
}
.button-container {
    margin-left: auto;
}