* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif; 
}

:root {
    --bg-color: #f5f5f5;

    --text-color: white;

    --box-color: #577ed1;
    --box-color2: #96bbec;


    --box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.466);

    --btn-color: #b6b6b6;
}

/* --------------------------------- */
/* ----------- GLOBAL -------------- */
/* --------------------------------- */

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
}

section {
    margin: 30px;
}

label {
    font-size: 1.2rem;
}

.input-button {
    padding: 10px;
    border: none;
    margin-right: 30px;
    font-weight: bold;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

.input-ingresar  {
    border: none;
    outline: none;
    padding: 8px;
    box-shadow: var(--box-shadow);
}

p {
    color: rgb(180, 27, 27);
}

.title {
    display: inline-block;
    background-color: #577ed1;
    border-radius: 30px;
    color: var(--text-color);
    box-shadow: var(--box-shadow);
    padding: 10px;
    margin-bottom: 10px;
    font-size: 2rem;
}

tr > th {
    background-color: #6ea7fc;
}

.vistaCliente-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.flex-colum {
    display: flex;
    flex-direction: column;
}

.flex {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* --------------------------------- */
/* ----------- HEADER -------------- */
/* --------------------------------- */

.header {
    width: 100%;
    height: 100px;

    display: flex;
    justify-content: center;
    align-items: center;

    nav {
        width: 80%;
        height: 65px;
        border-radius: 50px;
        background-color: var(--box-color);
        box-shadow: var(--box-shadow);

        display: flex;
        justify-content: end;
        align-items: center;
        
        ul {
            display: flex;
            gap: 20px;
            list-style: none;
            margin-right: 50px;

            li {
                display: inline-block;
                background-color: var(--box-color2);
                box-shadow: var(--box-shadow);
                color: white;
                border-radius: 30px;
                padding: 10px;
                cursor: pointer;
                transition: scale .2s, background-color .2s ease-in-out;

                &:hover {
                    scale: 1.1;
                    background-color:  #6e8bb4;
                }
            }
        }
    }
}



/* --------------------------------- */
/* ------------- MAIN -------------- */
/* --------------------------------- */

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    #registro {
        background-color: var(--box-color);
        color: var(--text-color);
        box-shadow: var(--box-shadow);
        padding: 30px;
        border-radius: 30px;
        margin: 30px;
        
        h2 {
            font-size: 35px;
            margin-bottom: 20px;
            text-align: center;
            text-shadow: 0 0 3px rgba(0, 0, 0, 0.527);
        }

        span {
            color: rgb(11, 206, 21);
        }

        .input-ingresar {
            font-size: 1.4rem;
            margin: 10px;
            border-radius: 30px;
        }

        .input-button {
            width: 100%;
            margin-top: 10px;
            color: white;
            background-color: #96bbec;
            transition: scale .2s, background-color .2s ease-in-out;

            &:hover {
                scale: 1.1;
                background-color: #68b88c;
            }
        }
    }

    #login {
    background-color: var(--box-color);
    color: var(--text-color);
    box-shadow: var(--box-shadow);
    padding: 30px;
    border-radius: 30px;
    margin: 30px;
    
        h2 {
            font-size: 35px;
            margin-bottom: 20px;
            text-align: center;
        }

        p {
            color: rgb(180, 27, 27);
        }

        .input-ingresar {
            font-size: 1.4rem;
            margin: 10px;
            border-radius: 30px;
        }

        .input-button {
            width: 100%;
            margin-top: 10px;
            color: white;
            background-color: #96bbec;
            transition: scale .2s, background-color .2s ease-in-out;

            &:hover {
                scale: 1.1;
                background-color: #68b88c;
            }
        }
    }

    #vistaCliente {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;


        .conciertosDisponibles {
            margin: 20px;


            table {
                background-color: var(--box-color);
                border: none;
                border-radius: 10px;
                color: var(--text-color);
                padding: 10px;
                text-align: center;
                box-shadow: var(--box-shadow);

                border-spacing: 0 10px;
                
                tr {
                    background-color: #96bbec;
                    border-radius: 10px;
                    box-shadow: var(--box-shadow);
                }
                
                th, td {  
                    padding: 10px;
                    border: none;
                }
                
                img {
                    object-fit: cover;
                    border-radius: 10px;
                    width: 150px;
                    box-shadow: var(--box-shadow);
                }
                
                td:first-child, th:first-child {
                    border-radius: 10px 0 0 10px;
                }
                
                td:last-child, th:last-child {
                    border-radius: 0 10px 10px 0;
                }
                
                input[type="radio"] { 
                    scale: 2;
                                
                }

                input[type="radio"]:checked {
                    scale: 3;
                                
                }
            }
        }

        .reservarEntradas {
            margin: 20px;

            & > div {
                background-color: var(--box-color);
                color: var(--text-color);
                box-shadow: var(--box-shadow);
                width: 350px;
                padding: 30px;
                border-radius: 30px;

               .input-ingresar {
                    font-size: 1.4rem;
                    margin: 10px;
                    border-radius: 30px;
                }

                span {
                    color: rgb(11, 206, 21);
                }

                .input-button {
                    width: 100%;
                    margin-top: 10px;
                    color: white;
                    background-color: #96bbec;
                    transition: scale .2s, background-color .2s ease-in-out;

                    &:hover {
                        scale: 1.1;
                        background-color: #68b88c;
                    }
                }
            }
        }

        .historialConciertosCliente {
            margin: 20px;

            table {
                background-color: var(--box-color);
                border: none;
                border-radius: 10px;
                color: var(--text-color);
                padding: 10px;
                text-align: center;
                box-shadow: var(--box-shadow);

                border-spacing: 0 10px;
                
                tr {
                    background-color: #96bbec;
                    border-radius: 10px;
                    box-shadow: var(--box-shadow);
                }
                
                th, td {  
                    padding: 10px;
                    border: none;
                }
                
                td:first-child, th:first-child {
                    border-radius: 10px 0 0 10px;
                }
                
                td:last-child, th:last-child {
                    border-radius: 0 10px 10px 0;
                }
                
                button {
                    border: none;
                    box-shadow: var(--box-shadow);
                    background-color: rgb(175, 52, 52);
                    border-radius: 30px;
                    padding: 5px;
                    color: white;
                    cursor: pointer;
                    transition: scale .2s, background-color .2s ease-in-out;

                    &:hover {
                        scale: 1.1;
                        background-color: rgb(204, 62, 62);
                    }
                }
            }
        }
    }

    #ofertas {
        .conciertosOfertas {
            margin: 30px;


            table {
                background-color: var(--box-color);
                border: none;
                border-radius: 10px;
                color: var(--text-color);
                padding: 10px;
                text-align: center;
                box-shadow: var(--box-shadow);

                border-spacing: 0 10px;
                
                tr {
                    background-color: #96bbec;
                    border-radius: 10px;
                    box-shadow: var(--box-shadow);
                }
                
                th, td {  
                    padding: 10px;
                    border: none;
                }
                
                img {
                    object-fit: cover;
                    border-radius: 10px;
                    width: 150px;
                    box-shadow: var(--box-shadow);
                }
                
                td:first-child, th:first-child {
                    border-radius: 10px 0 0 10px;
                }
                
                td:last-child, th:last-child {
                    border-radius: 0 10px 10px 0;
                }

                input[type="radio"] { 
                    scale: 2;       
                }

                input[type="radio"]:checked {
                    scale: 3;
                }
            }
        }

        .reservarEntradasOfertas {
            margin: 30px;

            & > div {
                background-color: var(--box-color);
                color: var(--text-color);
                box-shadow: var(--box-shadow);
                width: 400px;
                padding: 30px;
                border-radius: 30px;

               .input-ingresar {
                    font-size: 1.4rem;
                    margin: 10px;
                    border-radius: 30px;
                }

                span {
                    color: rgb(11, 206, 21);
                }

                .input-button {
                    width: 100%;
                    margin-top: 10px;
                    color: white;
                    background-color: #96bbec;
                    transition: scale .2s, background-color .2s ease-in-out;

                    &:hover {
                        scale: 1.1;
                        background-color: #68b88c;
                    }
                }
            }
        }
    }

    #vistaAdmin {
        display: flex;
        flex-direction: column;
        justify-content: center;

        .procesarReservas {
            display: flex;
            flex-direction: column;
            align-items: flex-start;

            margin: 30px;
            width: 1100px;
            
            table {
                background-color: var(--box-color);
                margin-right: 20px;
                border: none;
                border-radius: 10px;
                color: var(--text-color);
                padding: 10px;
                text-align: center;
                box-shadow: var(--box-shadow);

                border-spacing: 0 10px;
                
                tr {
                    background-color: #96bbec;
                    border-radius: 10px;
                    box-shadow: var(--box-shadow);
                }
                
                th, td {  
                    padding: 10px;
                    border: none;
                }

                td:first-child {
                    border-radius: 10px 0 0 10px;
                }
                
                td:last-child {
                    border-radius: 0 10px 10px 0;
                }

                button {
                    border: none;
                    box-shadow: var(--box-shadow);
                    background-color: #76808a;
                    border-radius: 30px;
                    padding: 5px;
                    color: white;
                    cursor: pointer;
                    transition: scale .2s, background-color .2s ease-in-out;

                    &:hover {
                        scale: 1.1;
                        background-color: #68b88c;
                    }
                }
            }
        }

        .agregarConciertos {
            margin: 30px;

            & > div > div {
                display: flex;
                flex-direction: column;
                align-items: flex-start;

                background-color: var(--box-color);
                color: var(--text-color);
                box-shadow: var(--box-shadow);
                width: 400px;
                padding: 30px;
                border-radius: 30px;

                .input-ingresar, select {
                    font-size: 1.4rem;
                    margin: 10px;
                    border-radius: 30px;
                }

                span {
                    color: rgb(11, 206, 21);
                }

                .input-button {
                    width: 100%;
                    margin-top: 10px;
                    color: white;
                    background-color: #96bbec;
                    transition: scale .2s, background-color .2s ease-in-out;

                    &:hover {
                        scale: 1.1;
                        background-color: #68b88c;
                    }
                }
            }
        }

        .modificarConciertos {
            margin: 30px;

            table {
                background-color: var(--box-color);
                border: none;
                border-radius: 10px;
                color: var(--text-color);
                padding: 10px;
                text-align: center;
                box-shadow: var(--box-shadow);

                border-spacing: 0 10px;
                
                tr {
                    background-color: #96bbec;
                    border-radius: 10px;
                    box-shadow: var(--box-shadow);
                }
                
                th, td {  
                    padding: 10px;
                    border: none;
                }
                
                img {
                    object-fit: cover;
                    border-radius: 10px;
                    width: 150px;
                    box-shadow: var(--box-shadow);
                }
                
                td:first-child, th:first-child {
                    border-radius: 10px 0 0 10px;
                }
                
                td:last-child, th:last-child {
                    border-radius: 0 10px 10px 0;
                }

                button {
                    border: none;
                    box-shadow: var(--box-shadow);
                    background-color: #76808a;
                    border-radius: 30px;
                    padding: 5px;
                    color: white;
                    cursor: pointer;
                    transition: scale .2s, background-color .2s ease-in-out;

                    &:hover {
                        scale: 1.1;
                        background-color: #e0ad4d;
                    }
                }
            }      
        }

        .modificarConciertosHidden {
            margin: 30px;

            & > div {
                display: flex;
                flex-direction: column;
                align-items: flex-start;

                background-color: var(--box-color);
                color: var(--text-color);
                box-shadow: var(--box-shadow);
                width: 400px;
                padding: 30px;
                border-radius: 30px;

                .input-ingresar, select {
                    font-size: 1.4rem;
                    margin: 10px;
                    border-radius: 30px;
                }

                span {
                    color: rgb(11, 206, 21);
                }

                .input-button {
                    width: 100%;
                    margin-top: 10px;
                    color: white;
                    background-color: #96bbec;
                    transition: scale .2s, background-color .2s ease-in-out;

                    &:hover {
                        scale: 1.1;
                        background-color: #68b88c;
                    }
                }
            }
        }

        .informeGanancias {
            margin: 20px;

            table {
                background-color: var(--box-color);
                border: none;
                border-radius: 10px;
                color: var(--text-color);
                padding: 10px;
                text-align: center;
                box-shadow: var(--box-shadow);

                border-spacing: 0 10px;
                
                tr {
                    background-color: #96bbec;
                    border-radius: 10px;
                    box-shadow: var(--box-shadow);
                }
                
                th, td {  
                    padding: 10px;
                    border: none;
                }

                td {
                    background-color: var(--box-color2);
                }
            }
        }
    }
}