* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-image: url("../images/fondo-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0;
    overflow-x: hidden;
}
.main-transacciones{
    margin: 0;
    overflow-x: hidden;
    background-color: #fdedec;
    height: 84vh;

    & .btn-regresar{
        position: absolute;
        left: 20px;
    }
}
header {
    background-color: #8c32a080;
    padding: 20px;
    text-align: center;
    color: white;
    font-size: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}
header .home{
    position: absolute;
    font-size: 1rem;
    padding: 25px;
    right: 0;
}
.home a{
    color: yellow;
}
h1{
    padding-left: 41%;
    visibility: hidden;
}
.image img{
    position: absolute;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, .8));
    margin: 20px;
    height: 140px;
    top: -30px;
    left: 44%;
}
section {
    padding: 40px;
    text-align: center;
}

/* LOGIN VIEW */
form .username{
    position: relative;
    border-bottom: 2px solid #e6e6fa;
    margin: 30px 0;
}
.username input{
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
    color: #f8efea;
}
.username label{
    position: absolute;
    top: 50%;
    left: 5px;
    color: #e6e6fa;
    transform: translateY(-170%);
    font-size: 16px;
    pointer-events: none;
    transition: .5s;
}
.olvidada{
    margin: -5px 0 20px 5px;
    cursor: pointer;
    text-decoration: none;
}
.btn-subir{
    width: 100%;
    height: 50px;
    border: 1px solid;
    background: var(--morado-boton);
    border-radius: 10px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    outline: none;
    font-weight: bold;
    border: none;

    &:hover{
    background: var(--morado-boton-hover);
    transition: .3s;
}
}
.registro{
    margin: 20px 10px 10px 0;
    text-align: center;
    font-size: 16px;
    color: #e6e6fa;
}
.registro a{
    color: #f8efea;
}
.recuperar{
    margin: -10px 20px 40px 0;
    text-align: center;
    font-size: 16px;
    color: #e6e6fa;
}
.recuperar a{
    color: #f8efea;
}

/* REGISTRO */
main{
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
}
.cont-login{
    top: 25%;
}
.cont {
    background-color: rgba(255, 255, 255, 0.1);
    position: absolute;
    width: 400px;
    border-radius: 10px;
    padding-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}
.cont h2{
    text-align: center;
    padding: 20px 20px;
    border-bottom: 1px solid silver;
    color: #f8efea;
}
.cont form{
    padding: 10px 40px;
    box-sizing: border-box;
}
form .datos{
    position: relative;
    border-bottom: 2px solid #f8efea;
    margin: 30px 0;
}
.datos input{
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
    font-size: 15px;
    color: #f8efea;
}
.datos label{
    position: absolute;
    top: 50%;
    left: 5px;
    color: #f8efea;
    transform: translateY(-170%);
    font-size: 16px;
    pointer-events: none;
    transition: .5s;
}
.entrar{
    margin: -10px 20px 40px 0;
    text-align: center;
    font-size: 16px;
    color: #f8efea;
}
.entrar a{
    color: #f8efea;
}
input::placeholder{
    color: #f8efea9c;
}

/* TOOLTIP */
.icon-container {
    position: absolute;
    color: silver;
    right: 10px;
    top: 15px;
    cursor: pointer;
}
.icon-info{
    position: absolute;
    right: -20px;
    top: 0;
}
.tooltip {
    visibility: hidden;
    width: 120px;
    font-size: 11.5px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: 0.3s;
}

.icon-container:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.shop-description p {
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.shop-description p.expanded {
    -webkit-line-clamp: unset;
}

.show-more-btn {
    text-align: center;
    background: none;
    border: none;
    color: rgb(188, 187, 187);
    cursor: pointer;
    padding: 0;
    margin-top: 5px;
    font-size: 17px;
}

.show-more-btn:hover {
    text-decoration: underline;
}

h6{
    margin-bottom: 10px;
    color: red;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    padding: 10px;
}
h6 i{
    color: yellow;
}
aside, h6{
    width: 22%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-left: 10px;
    padding: 13px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}
.text{
    top: -30px;
    color: white;
}
.text a{
    color: #dbb6ee;
}

/* TRANSACCION */
.container{
    background-color: rgb(255, 255, 255, 0.5);
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 7px;
    width: 40%;
    height: 80%;
}
.container-tarjeta{
    height: 100%;
}
.pago{
    width: 100%;
    height: auto;
    background-color: green;
    cursor: pointer;
    border: none;
    font-weight: bold;
    font-size: 18px;
    color: white;
    padding: 20px;
    border-radius: 12px;
}
.pago:hover{
    background-color: rgb(2, 70, 2);
}
form .datos {
    position: relative;
    margin: 10px 0;
}
.datos input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    background: none;
    outline: none;
    border-radius: 5px;
    color: #000;
    margin-top: 10px;
}
.datos label {
    position: absolute;
    left: 10px;
    background-color: #FFF7F6;
    padding: 0 5px;
    font-size: 14px;
    color: #757575;
}
h2{
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid silver;
}

/* ACCIONES TRANSACCION */
.acciones{
    & img{
        height: 50px;
        margin: 0 10px 0 0;
    }
    & .paypal{
        margin: 0 0 10px 0;
        background-color: #23C3F1;

        &:hover{
            background-color: #072C62;
        }
    }
    & .oxxo{
        background-color: #FFCE46;

        &:hover{
            background-color: #e41c2a;
        }

    }
    & .paypal, .oxxo{
        display: flex;
        border-radius: 10px;
        padding: 7px;

        & a{
            width: 100%;
            background-color: transparent;
            border: none;
            color: white;
            font-size: 18px;
            font-weight: bold;
            display: grid;
            place-items: center;

            &:hover{
                cursor: pointer;
            }
        }
        &:hover{
            transform: scale(1.01);
            transition: all 0.3s ease;
            cursor: pointer;
        }
    }

}

.modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    z-index: 11;
    top: 0;
    left: 0;
}
.modal-request {
    width: 100%;
    height: 120vh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: hidden;
}
.modal-header{
    background-color: #7D358E;
    color: #F5DEDA;
    margin-top: -25px;
    width: 125%;
    padding-top: 20px;
    margin-left: -50px;
    text-align: center;
    transform: translateY(-30px);

    & close{
        margin-right: 50px;
    }
    & h3{
        font-size: 25px;
        transform: translateY(-20px);
    }
    & p{
        transform: translateY(-20px);
    }
    & span{
        margin: 0 -80% 0 0;
        color: #c9184a;
        font-weight: bold;
        font-size: 50px;
        cursor: pointer;

        &:hover{
            color: #7f082a;
        }
    }
}
.modal-content-request {
    width: 30%;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 25px;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    filter: blur(0px);
    position: relative;
}
.modal-content-request::-webkit-scrollbar {
    width: 8px;
}
.modal-content-request::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}
.modal section {
    padding: 20px;

    & p{
        color: #000;
        text-align: justify;
        font-weight: bold;
        transform: translateY(-30px);
    }
}

.cont-espera{
    padding: 20px;

}
.cont-espera-text{
    margin-top: 20px;
    color: white;
    text-justify: justify;
    font-weight: bold;
}
.container-tarjeta{
    height: 350px;
}
.button-container{
    width: 100%;
    height: 50px;
    border: 1px solid;
    background: var(--morado-boton);
    border-radius: 10px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    outline: none;
    font-weight: bold;
    border: none;

    & a{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }
    &:hover{
        background: var(--morado-boton-hover);
        transition: .3s;
    }
}