﻿
    html, body {
        margin: 0;
        font-family: Arial, sans-serif;
        background-color: #181818;
        color: #fff;        
        overflow-x: hidden;
        width: 100%;            
        padding: 0;        
    }


header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left:20px;
    padding-right:20px;
    background-color: #222;
    width: 100%;
    height:50px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden; 
}


    header h1 {
        font-size: 25px;
        background-image: linear-gradient(45deg, #228eeb, #da00ff, #6baae1);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

header nav {
    display: flex;
    gap: 8px;
    font-size: 0.8rem;
    justify-content: flex-end;
    flex-grow: 1;
    width: auto;
    min-width: 150px;
    max-width: 50%;
    overflow: hidden; 
  

}

    header nav a {
        text-decoration: none;
        color: #888b88;
        padding: 3px 5px;
        white-space: nowrap;
        font-size: 16px;
    }


#lnkLogin{
    padding-top:8px;
}


.video-title {
    margin-left: 20px;
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
    width: 98%;
}


    .video-title h2 {
        font-size: 20px;
    }



.button-sign-up {
    display: inline-block;
    background-color: #914caf; 
    color: #ffffff !important;
    padding: 8px 10px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
}

@media (max-width: 768px) {

    header nav a {       
        font-size: 0.8rem;       
    }

}


    /* ------------------------------------   upgrade info ---------------------------------------*/


    .upgrade-info {
        display: flex;
        justify-content: center;
        width: 100%;
        color: #df4747;
        margin-top: 40px;
        margin-bottom:20px;
    }

    .upgrade-link {
        color: #ff2929;
        font-weight: bold;
        text-decoration: none;
    }


    .alert {
        display: flex;
        align-items: center;
        background-color: #efabb1;
        color: #721c24;
        padding: 15px;
        border: 1px solid #efabb1;
        border-radius: 5px;
        width: 90%;
        max-width: 600px;
        font-size: 1rem;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        margin: 0 auto;
    }


    .alert-icon {
        margin-right: 10px;
        font-size: 1.5rem;
    }

    .sp1 {
        display: inline-block;
    }

    .linkUpgrade {
        text-decoration: none;
        display: block;
        padding: 8px 10px;
        background-color: #cd30c0;
        color: #ffffff;
        border-radius: 5px;
        font-size: 1rem;
        font-weight: bold;
        text-align: center;
        transition: background-color 0.3s ease;
    }



    @media (max-width: 768px) {
        .alert {
            font-size: 0.9rem;
            padding: 10px;
        }

        .alert-icon {
            font-size: 1.2rem;
        }

        .sp1 {
            display: none;
        }
    }



    /* ------------------------------------   /upgrade info ---------------------------------------*/



    /*   -------  player container ----------*/
/*
.player-container {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
    min-height: auto;
    aspect-ratio: 16 / 9;
    justify-content: center;
    align-items: center;
}
    */


.player-container {
    display: block; /* ← cambiar de flex a block */
    position: relative;
    
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
    min-height: auto;
    aspect-ratio: 16 / 9;
    justify-content: center;
    
}



.player-container {
    position: relative; /* << necesario para posicionar el botón respecto al contenedor */
}

    .player-container video {
        width: 100%;
        height: 100%;
        display: block;
        border: none;
        background-color: #efabb1;
        object-fit: cover;
    }



#playOverlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px; /* ajustá según tu imagen */
    cursor: pointer;
    z-index: 10;
    opacity:0.5;
}




@media (max-width: 768px) {

    #playOverlay {
        position: absolute;
        top: 40%;
        /*left: 50%;*/
        transform: translate(-40%, -50%);
        width: 100px; /* ajustá según tu imagen */
        cursor: pointer;
        z-index: 10;
        opacity: 0.5;
    }
}



    /*----------------------------------  icon buttons -----------------------------*/


    .controls {
        display: flex;
        justify-content: space-between;
        width: 98%;
        margin-top: 0 !important;
        padding-top: 0 !important;
        position: relative;
        top: 0;
    }


    .left-controls {
        display: flex;
        gap: 15px;
        padding-left: 20px;
    }


    .center-controls {
        display: flex;
        gap: 15px;
        margin: 0 auto;
        justify-content: center;
    }


    .actions-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        /* margin-top: 30px; */
    }



    .action-button {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: none;
        border: none;
        cursor: pointer;
        color: gray;
        padding: 10px;
        border-radius: 8px;
        transition: background-color 0.3s ease, color 0.3s ease;
        font-size: 14px;
        width: 120px;
    }

        .action-button i {
            font-size: 28px;
            margin-bottom: 5px;
        }

        /* Efecto Hover */
        .action-button:hover {
            background-color: #a83232;
            color: white;
        }

/* 
        .action-button.active {
            background-color: #a83232;
            color: white;
        } */

#icon_favorite.active {
    color: #a83232;
}


.icon-button {
    color: gray;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
    border: none;
    background: none;
}


        .icon-button.like.active,
        .icon-button.dislike.active {
            color: #4CAF50;
        }



        /*
        .icon-button:hover {
            color: #d08585;
        }*/

        /*
    .no-hover:hover {
        color: inherit !important; 
        cursor: default !important;
        pointer-events: none !important;
    } */







    /*  ------------------------------------------   End Icon buttons --------------------------*/


    footer {
        text-align: center;
        padding: 10px 20px;
        background-color: #222;
        position: relative;
        bottom: 0;
        width: 100%;
    }

    /* Toast Styles */
    .toast-container {
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 1000;
    }

        .toast-container .toast {
            background-color: #333;
            color: #fff;
            padding: 10px 20px;
            border-radius: 5px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease, transform 0.5s ease;
            margin-top: 10px;
            background-color: #45a049;
        }

            .toast-container .toast.show {
                opacity: 1;
                transform: translateY(0);
            }



.mega-files-info {
    width: 60%;
    height: 200px;
    margin: 20px auto; /* 50px arriba y abajo, centrado horizontal */
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra verticalmente el contenido */
    align-items: center; /* centra horizontalmente el contenido */
    text-align: center;
    border: 1px solid #ccc; /* opcional: para ver el contorno del div */
    padding: 20px; /* opcional: algo de espacio interior */
}


#oldVideoMegaLink{
    font-size:25px;
    color:aquamarine;
    font-weight:bold;
}


#imgVideoPrevia{
    margin:20px auto 20px auto; 
    display:block;
    max-width:90%;
    border:1px solid red;
}