/* FUENTE */

@import url('https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@100;300;400;900&family=Mochiy+Pop+One&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root {
    --font-one: 'Roboto', 'Rubik', 'sans-serif';
    --scroll-bar: 13px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-one);
    font-size: 1rem;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

/* BODY */
.cssid-body {
    width: calc(100vw - var(--scroll-bar));
    display: flex;
    flex-flow: column nowrap;
    min-height: 100vh;
    background-color: #fff;
    position: relative;
}

/* POPUP */
.active {
    display: none;
}

.noactive {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: .25rem;
    background-color: rgba(237, 237, 237, 0.767);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 99;
    padding: 1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
}

.thankstext {
    font-style: italic;
    font-weight: 900;
    color: #000000;
    text-shadow: 0px 0px 5px #33cc66;
}

.completetext {
    font-size: .9rem;
    margin-top: .2rem;
    font-weight: 500;
}

.completedata {
    width: 80%;
    display: inline-block;
    margin-top: 1rem;
    padding: .5rem 1rem;
    background-color: #33cc66;
    color: #fff;
    text-decoration: none;
    border-radius: .25rem;
    cursor: pointer;
}

/* HEADER */
.cssid-header {
    background-color: transparent;
    display: block;
    width: 100%;
    height: 50px;
    z-index: 100;
}

/* NAV */
.cssid-header-nav {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.cssid-nav-logo {
    height: 50px;
    margin-left: 1rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.cssid-nav-logo-id {
    display: block;
    width: 30px;
}

.cssid-nav-logo-name {
    font-size: 1.3rem;
    margin-left: .7rem;
    margin-top: .15rem;
    font-weight: 500;
    color: rgb(0, 0, 0);
    font-family: Poppins;
    text-decoration: none;
}

.cssid-nav-list {
    margin-right: 1rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.cssid-nav-list-buy {
    display: block;
    width: 100px;
    height: 30px;
    background-color: white;
    border-radius: .5rem;
    position: relative;
    margin-right: .5rem;
    cursor: pointer;
    color: #000;
}

.cssid-nav-list-access {
    display: block;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    color: #000;
}

.cssid-nav-list-buy:hover {
    box-shadow: 0px 0px 10px #ffffff;
}

.cssid-nav-list-buy::before {
    content: '🐶';
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translateY(-50%);
}

.cssid-nav-list-buy::after {
    content: 'Estado';
    display: block;
    color: #000000;
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    font-size: .8rem;
}

.cssid-nav-list-access:hover {
    box-shadow: 0px 0px 10px #ffffff;
}

.cssid-nav-list-access::before {
    content: '🌟';
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* MAIN */
.cssid-main {
    width: 100%;
    position: relative;
}

.cssid-main-content {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.cssid-main-content-all {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.content-photo {
    width: 100%;
}

.content-img {
    width: 100%;
    height: 300px;
    position: relative;
}

.user-photo {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    object-fit: cover;
    background-position: right;
}

.content-text-address {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.content-text {
    display: block;
    width: 100%;
    height: 260px;
    background-color: rgb(255, 255, 255);
    border-radius: 0 .3rem 0 0;
    position: relative;
}

.name {
    display: block;
    background-color: #33cc66;
    width: 100%;
    height: 50px;
    color: #fff;
    padding: 0 1.5rem;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 50px;
    border-radius: 0 .3rem 0 0;
    border-bottom: 1px solid rgb(228, 228, 228);
}

.idpet {
    position: absolute;
    display: block;
    width: 150px;
    height: 30px;
    top: 10px;
    right: 1.5rem;
    background-color: #0300000e;
    border-radius: .5rem;
    border: 1px solid #ffffff3f;
    color: #ffffff;
    text-align: center;
    padding: .3rem;
}

.idpet::after {
    content: attr(user);
    display: block;
    font-size: .9rem;
    font-weight: 500;
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.user-texto {
    padding: .5rem 1.5rem;
}

.user-txt {
    display: block;
    font-size: 1rem;
    margin: .5rem 0;
    text-decoration: none;
    color: #2c2c2c;
}

.phone {
    font-size: 1.2rem;
    color: blue;
}

.content-user-btns {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

.user-btn {
    width: 30%;
    background-image: linear-gradient(#33cc66, #2CC87F);
    border-radius: .25rem;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 1rem 0;
    font-size: .9rem;
    margin: 0 .2rem;
}

.user-btn:hover {
    background-image: linear-gradient(#2CC87F, #0e9656);
}

.content-address {
    display: block;
    width: 100%;
    height: 160px;
    border-radius: 0 0 .3rem 0;
}

.user-adress {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 .3rem 0;
}

/* FOOTER */
.cssid-footer {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    background-color: transparent;
}

.cssid-footer-social {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.cssid-footer-social-icon {
    color: #000000;
    margin: 1rem .5rem .5rem;
    text-decoration: none;
    font-size: .8rem;
}

.cssid-footer-social-icon:hover {
    color: #33cc66;
}

.slogan:hover {
    color: #33cc66;
}

.cssid-footer-copyright {
    font-size: 0.7rem;
    text-align: center;
    font-weight: 300;
    color: #000000;
    padding: .5rem 0;
}

/* Fondo oscuro detrás de la ventana */
.modal-oculto {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

/* Caja de la ventana emergente */
.modal-contenido {
    background-color: #fff;
    margin: 15% auto;
    padding: 25px;
    border-radius: 8px;
    width: 320px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    font-family: Arial, sans-serif;
}

/* Texto secundario para la fecha */
.fecha-vencimiento {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* Botón de cerrar (X) */
#cerrar-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
}
#cerrar-modal:hover { color: #000; }


/* Estilo base del enlace */
.cssid-footer-social-icon {
    color: #000000; /* Color inicial del icono */
    display: inline-block;
    transition: color 0.3s ease; /* Transición suave de color */
}

/* Control del tamaño del SVG */
.cssid-footer-social-icon svg {
    width: 15px;   /* Cambia el tamaño aquí */
    height: 15px;
    fill: currentColor; /* Obliga al SVG a usar el color del enlace */
}

/* Efecto Hover */
.cssid-footer-social-icon:hover {
    color: #33cc66; /* Color azul de Facebook al pasar el cursor */
}

@media screen and (min-width: 1000px) {

    .cssid-header-nav {
        width: 90%;
        margin: 0 auto;
    }

    .cssid-nav-list-access {
        display: block;
        width: 100px;
        height: 30px;
        background-color: white;
        border-radius: .5rem;
        position: relative;
        margin-right: .5rem;
        cursor: pointer;
        color: #000;
    }

    .cssid-nav-list-access::before {
        content: '🌟';
        top: 50%;
        left: 70%;
        transform: translateY(-50%);
    }

    .cssid-nav-list-access::after {
        content: 'Tienda';
        display: block;
        color: #000000;
        position: absolute;
        top: 50%;
        left: 13px;
        transform: translateY(-50%);
        font-size: .8rem;
    }

    /* MAIN */
    .cssid-main-content {
        width: 90%;
        margin: 1rem auto;
        border-radius: .4rem;
        border: 1px solid rgba(128, 128, 128, 0.24);
    }

    .cssid-main-content-all {
        flex-flow: row nowrap;
    }

    .content-photo {
        width: 50%;
    }

    .content-img {
        height: 80vh;
    }

    .user-photo {
        border-radius: .3rem 0 0 .3rem;
    }

    .content-text-address {
        width: 50%;
    }

    .content-text {
        height: 40vh;
    }

    .name {
        height: 60px;
        font-size: 2rem;
        line-height: 60px;
    }

    .idpet {
        top: 15px;
        right: 15px;
    }

    .user-txt {
        font-size: 1.2rem;
    }

    .phone {
        font-size: 1.5rem;
    }

    .content-user-btns {
        padding-top: 1rem;
    }

    .content-address {
        height: 40vh;
    }

    /* FOOTER */
    .cssid-footer-copyright {
        font-size: 0.8rem;
    }
}

@media screen and (min-width: 1200px) {
    /* HEADER-NAV */
    .cssid-header-nav {
        width: 70%;
        margin: 0 auto;
    }

    /* MAIN */
    .cssid-main-content {
        width: 70%;
    }
}