* {
    padding: 0%;
}
:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}
body {
    background: linear-gradient(150deg, rgb(69, 181, 255), rgb(108, 0, 197),rgb(69, 181, 255), rgb(108, 0, 197));
    background-attachment: fixed;
    margin: 0% 0% 0% 0%;
    height: 100vh;
    min-width: 333px;
    touch-action: pan-x pan-y;
}
.tables h2,
.tables h2 p,
.nombres h2,
.nombres h2 p {
  margin: 0;
  padding: 0;
}
.fecha {
  position: relative;
  z-index: 102;
    margin-top: -5%;
}
p {
    color: #131313a2;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.Fuera {
  position: absolute;
  right: 0%;
  top: 1%;
  display: none;
}
.Fuera.visible {
  display: block;
}
.agreegar.visible {
    width: 157px;
    height: 151px;
    position: absolute;
    top: 11%;
    right: -63%;
    z-index: 5;
    display: grid; /* o block, según tu diseño */
}
.amigos-container{
    position: relative;
    z-index: -1;
}
.modal {
  position: fixed; left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  z-index: 100;
}
.modal-content {
  background: linear-gradient(150deg, rgb(255, 255, 255), rgb(255, 255, 255), rgb(255, 255, 255), rgb(255, 255, 255));
  padding: 24px; 
  border-radius: 8px; 
  min-width: 300px;
  text-align: center;
}
.modal-content h2 {
  color: #454545;
  margin-bottom: 16px;
}
.modal-content p {
  color: rgb(0, 0, 0);
  margin-bottom: 24px;
}
.confirma{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.deleteConfir{
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#confirmacionEliminar {
  text-align: center;
}
.afirmactivo{
  text-align: center;
  font-size: 1.1em;
  color: #454545;
}
.ConfirmaElim { 
  width: 220px; 
  height: 90px; 
  position:fixed; 
  bottom:32px; 
  left:50%; 
  top: 50%; 
  transform:translate(-50%,-50%); 
  background:#fff; 
  color:#454545; 
  padding:14px 16px; 
  border-radius:8px; 
  font-size:1.1em; 
  box-shadow:4px 4px 13px rgba(0, 0, 0, 0.76);
  z-index:9999;
  transition:opacity 0.3s; 
  text-align: center;
  display:none;
}
.ConfirmaNegativo {
  width: 260px;
  height: auto;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 2px solid #d10000;
  color: #d10000;
  padding: 18px 20px;
  border-radius: 14px;
  font-size: 1.1em;
  box-shadow: 0 8px 32px rgba(209, 0, 0, 0.18);
  z-index: 9999;
  transition: opacity 0.3s;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.ConfirmaNegativo .afirmactivo {
  color: #d10000;
  font-size: 0.95em;
  font-weight: 600;
  margin: 0;
}

@media (min-width: 228px) {
    .ContenedorGeneral {
        width: 98%;
        height: 86.5%;
        position: relative;
        inset: 4% 0% 0% 0%;
        padding: 5px 0;
        display: grid;
        gap: 1%;
        
    }
    .redes{
        position:absolute;
        bottom:-100px; 
        left:0; 
        right:0;
        display:flex; gap:8px;
        align-items:center;
        justify-content:center;
        flex-wrap:wrap;
    }
    .svg-container {
        margin-top: 3px; /* Ajusta la distancia desde arriba */
        width: 100%;
        display: flex;
        justify-content: center; /* Centra el SVG */
    }
    .agree{
        position: absolute;
        top: -5%;
        left: 85%;
        z-index: 1;
        padding-top: 2%;
        padding-right: 2%;
        padding-left: 2%;
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 50%;
        mask-image: linear-gradient(230deg,black 70%, transparent);
    }
    .agreedos{
        position: absolute;
        top: 2%;
        left: 27%;
        z-index: 3;
        padding-top: 1%;
        padding-right: 1%;
        padding-left: 1%;
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 50%;
        mask-image: linear-gradient(230deg,black 70%, transparent);
    }
    .marcanombre {
        width: 55%;
        height: auto;
        margin-top: -2%;
    }
    .brand {
        color: rgb(44, 44, 44);
        width: 100%;
        font-size: 120%;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        position: absolute;
        text-align: center;
        bottom: 2%;
        z-index: 3;
    }
    .footer {
        width: 100%;
        height: 15%;
        position: absolute;
        left: -0.5%;
        top: 1%;
    }
    .frontmenu {
        width: 100%;
        position: fixed;
        background-color: black;
        left: 0%;
        bottom: 0%;
        z-index: 4;
    }
    .footerback {
        width: 98%;
        height: 74%;
        position: absolute;
        left: 0.5%;
        top: 34%;
        z-index: 1;
    }
    .contenedor-body {
        /*background: linear-gradient(150deg, rgba(0, 42, 182, 0.8), rgba(48, 0, 102, 0.8));*/
        width: 98%;
        height: 107.5%;
        margin: 0% 0% 0% 0%;
        border-radius: 5px;
        position: absolute;
        left: 1%;
        right: 2%;
        bottom: 2%;
        top: -10%;
        z-index: 1;
    }
    .contenedor-contacto {
        height: 43%;
    }
    .fotoAnuario {
        user-select: none;
        -webkit-user-drag: none;
        pointer-events: none;
        width: 134px;
        height: 203px;
        border-radius: 10%;
        position: absolute;
        top: -10%;
        margin: auto;
        clip-path: circle(52%);
        box-shadow: 0px 1px 1px 1px white;
        
    }
    
    .cuadrodisub{
        width: 50%;
        height: 50%;
    }
    .reaccione {
        position: absolute;
        bottom: -5%;
        left: 35%;
        height: 35px;
        z-index: 1;
        padding-top: 2%;
        padding-right: 2%;
        padding-left: 2%;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
    }
    .viewOpen{
        width: 36px;
        height: 34px;
    }
    .viewOpen:active{
        animation: viewRebot 1s running;
    }
    .pic {
        width: 50%;
        max-width: 140px;
        height: 182px;
        position: absolute;
        display: flex;
        margin: 0 auto;
        text-align: center;
        top: 6%;
        left: 3%;
        transform: translateY(50% - 50%);
        z-index: 1;
    }
    article svg {
        position: absolute;
        inset: 0;
        margin: auto;
        scale: 0;
        opacity: 0%;
    }
    .contenedor-viewer {
        height: 92%;
        width: 100%;
        border-radius: 5px;
        /*border: 3px solid rgba(255, 255, 255, 0.7);*/
        backdrop-filter: blur(25px);
        position: absolute;
        display: flex;
        left: 0%;
        top: 3%;
    }
   /* Contenedor del formulario */
    .contenedorRegistro {
        text-align: center; /* Centra el texto del contenido */
        background: #ffffff;
        padding: 20px 30px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        max-width: 260px; /* Tamaño máximo del formulario */
        width: 100%; /* Ocupa el 100% dentro del máximo permitido */
        position: absolute;
        inset: 1% 0% 0% 5%;
    }

    /* Ajustes del formulario */
    .contenedorRegistro form {
        display: flex;
        flex-direction: column; /* Coloca los elementos en una columna */
        gap: 7px; /* Espaciado entre los elementos */
    }
    .bechamelbrand{
        stroke: #00BA8F;
        fill: #00BA8F;
    }
    .bienvenida{
        border-radius: 10px;
        background-color: #ffffff;
        width: 80%;
        height: 5%;
        color: #00BA8F;
        position: absolute;
        inset: 0% 0% 0% 0%;
        margin: auto;
        display: flex;
    }
    /* Campos del formulario */
    .contenedorRegistro input, .contenedorRegistro button {
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 5px;
        width: 100%; /* Asegura que ocupen todo el ancho */
        box-sizing: border-box; /* Incluye el padding dentro del ancho */
    }

    /* Botón de registro */
    .contenedorRegistro button {
        background-color: #007bff;
        color: white;
        border: none;
        transition: background-color 0.3s ease;
    }

    .contenedorRegistro button:hover {
        background-color: #0056b3;
    }
    .nombres {
        width: 54%;
        height: 112px;
        position: absolute;
        z-index: -1;
        right: -1%;
        top: 5%;
        border-radius: 8px;
        display: flex;
        flex-wrap: wrap;
        gap: 7%;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .name {
        color: azure;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        text-align: center;
        font-size: 95%;
        line-height: 1.2; /* 1.5 veces el tamaño del texto */

    }
    .cognome {
        color: azure;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        text-align: center;
        font-size: 95%;
        line-height: 1.2; /* 1.5 veces el tamaño del texto */

    }
    .edad {
        color: azure;
        font-size: 97%;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        text-align: center;
    }
    .raza {
        color: azure;
        font-size: 14px;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        text-align: center;
    }
    .galery {
        width: 99%;
        position: absolute;
        z-index: -1;
        display: flex;
        flex-wrap: wrap;
        gap: 7%;
        left: 2%;
        top: 247px;
    }
    .gale {
        outline: none;
        box-shadow: none;
        border-radius: 10px;
        scale: 100%;
    }
    .gale:active {
        animation: icons 1s running;
    }
    .BtAG svg {
        width: 32px;
        height: 30px;
        text-align: center;
        border-radius: 2px;
        position: relative;
        inset: 0% 0% 0% 0%;
    }
    .results {
        position: absolute;
        margin: 15% 0% 0% 0%;
        z-index: 4;
    }
    li h1 {
        font-size: 25px;
        color: #ffffff;
    }

    ul {
        list-style-type: none;
        padding: 0;
    }

    li {
        background: linear-gradient(150deg, rgba(0, 42, 182, 0.2), rgba(253, 0, 177, 0.2));
        border: 1px solid #8c1aa3;
        border-radius: 4px;
        margin: 10px 0px 0px 0px;
        padding: 15px;
        display: flex;
        gap: 5%;
        align-items: center;
        color: #1f1f1f;
    }

    li img {
        width: 60px;
        height: 55px;
        border-radius: 50%;
        margin-right: 15px;
    }

    strong {
        display: block;
        color: #ffffff;
    }

    .pet-info {
        color: hwb(0 77% 23%);
    }
    .fotosg{
        display: block;
        width: 98%;
        height: 48%;
        position: absolute;
        top: 52%;
        left: 1%;
        right: 5%;
        font-size: 90%;
        text-align: justify;
        font-family: Arial, Helvetica, sans-serif;
    }
    .messenger {
        width: 90%;
        height: 48%;
        position: absolute;
        top: 275px;
        left: 5%;
        right: 0%;
        z-index: -1;
        font-size: 90%;
        text-align: justify;
        font-family: Arial, Helvetica, sans-serif;
    }
    .messenger b {
        color: white;
    }
    .mensaje{
        display: block;
        color: aliceblue;
    }
    .Galefotos {
        display: block;
        width: 105%;
        height: 48%;
        position: absolute;
        top: 275px;
        left: -2%;
        right: 0%;
        z-index: -1;
        font-size: 90%;
        text-align: justify;
        font-family: Arial, Helvetica, sans-serif;
    }
    .amigos {
        display: none;
        width: 93%;
        position: absolute;
        z-index: 2;
        top: 275px;
        left: 4%;
        right: 0%;
        font-size: 90%;
        text-align: justify;
        font-family: Arial, Helvetica, sans-serif;
    }
    .GaleSaves {
        display: none;
        width: 93%;
        position: absolute;
        z-index: 2;
        top: 275px;
        left: 4%;
        right: 0%;
        font-size: 90%;
        text-align: justify;
        font-family: Arial, Helvetica, sans-serif;
    }
    #selectMascotaPropietaria {
        background-color: #19daae;
        color: #fff;
        padding: 10px;
        border-radius: 10px;
        border: 2px solid #ebebeb;
        font-size: 16px;
        width: 100%;
        height: 65%;
        max-width: 300px;
        appearance: none; /* Elimina el estilo por defecto */
        -webkit-appearance: none;
        -moz-appearance: none;
    }

    #selectMascotaPropietaria option {
        background-color: #222;
        color: #fff;
        padding: 10px;
        font-size: 16px;
    }
    .btnagrega{
        position: absolute;
        top: -10%;
        right: -11%;
        z-index: 5;
    }

    .agreegar{
        width: 85%;
        height: 85%;
        background-color: #19daae91;
        border-radius: 5px;
        display: grid;
        gap: -2%;
        position: absolute;
        top: 10%;
        right: -8%;
        z-index: 5;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        justify-content: center;
        align-items: center;
        display: none;
    }
    .Galevideos{
        display: none;
        width: 105%;
        height: 48%;
        position: absolute;
        top: 275px;
        left: -2%;
        right: 0%;
        z-index: 5;
        font-size: 90%;
        text-align: justify;
        font-family: Arial, Helvetica, sans-serif;
    }
    .galeriaFoto{
        width: 100%;
        height: auto;
    }
    .cuadrobehindu {
        display: none;
        width: 90%;
        min-height: 33%;
        height: auto;
        position: absolute;
        top: 275px;
        left: 5%;
        right: 5%;
        font-size: 90%;
        text-align: justify;
        font-family: Arial, Helvetica, sans-serif;
        color: azure;
    }
    .fab {
        animation: fade 3s;
        position: fixed;
        z-index: -1;
        left: 25%;
        bottom: 5%;
        text-align: center;
        text-decoration: none;
        padding: 3% 4% 6% 5%;
        margin: 1px 1px;
        border-radius: 5px;
        font-size: 13px;
    }
    .fab:hover {
        opacity: 0.7;
        text-align: center;
    }
        
    .fa-whatsapp {
        width: 41%;
        height: 4%;
        background: linear-gradient(150deg, #c70202, #fd0000);
        color: white;
        text-align: center;
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    }
    
    .formulario {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    width: 300px;
    text-align: center;
    }

    .selector-fecha {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    }

    .selector-fecha select {
    width: 30%;
    padding: 8px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    appearance: none;
    text-align: center;
    }

    button {
        padding: 10px 20px;
        border: none;
        border-radius: 6px;
        font-size: 16px;
        box-shadow: rgba(0, 0, 0, 0.18) -1px 3px 11px;
    }

    button:focus,
    a:focus,
    input:focus {
    outline: none;
    box-shadow: none;
    }
    .btnchangePass {
        background-color: white;
    }
    .btnchangePassword {
        display: flex;
        flex-direction: column;
        gap: 10px; /* espacio entre elementos */
        align-items: stretch; /* opcional: que los botones ocupen el ancho completo */
        position: fixed;
        bottom: 64px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        max-width: 600px;
        padding: 20px;
        border: none;
        border-radius: 12px;
        font-size: 16px;
        color: white;
        transition: transform 0.2s ease;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        font-family: Arial, sans-serif;
        border-radius: 10px 10px 0 0;
        z-index: 3;
        text-align: center;
    }
    .termi{
        color: black;
        size: 12px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
    }
    .condicB{
        color: black;
        size: 12px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
        
    }
    .condicL{
        color: black;
        size: 12px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: lighter;
    }
    .editOne{
        position: absolute;
        right: 0%;
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 50px;
        padding-top: 3px;
        padding-right: 3px;
        padding-left: 4px;
    }
    .editTwo{
        position: absolute;
        right: 0%;
        top: -15%;
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 50px;
        padding-top: 3px;
        padding-right: 3px;
        padding-left: 4px;
    }
    .editcinque{
        position: absolute;
        right: 0px;
        top: 99px;
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 50px;
        padding-top: 3px;
        padding-right: 3px;
        padding-left: 4px;
    }
    .editFour{
        position: absolute;
        right: 0%;
        top: -9%;
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 50px;
        padding-top: 3px;
        padding-right: 3px;
        padding-left: 4px;
    }
    .mascoId{
        font-size: 12px;
        color: rgb(255, 255, 255);
    }
    .userId{
        font-size: 12px;
        color: rgb(255, 255, 255);
    }
    .fotoUsuario{
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }
    .share{
        position: relative;
        bottom: 0%;
        right: 0%;
    }

    .screenEdit {
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(150deg, rgb(255, 255, 255), rgb(255, 255, 255), rgb(255, 255, 255), rgb(255, 255, 255));
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    z-index: 100;
    width: 300px;
    display: none;
    }
    .screenEditMasc {
    position: fixed;
    top: 26%;
    left: 30%;
    transform: translate(-50%, -50%);
    background: linear-gradient(150deg, rgb(255, 255, 255), rgb(255, 255, 255), rgb(255, 255, 255), rgb(255, 255, 255));
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    z-index: 100;
    width: 300px;
    scale: 0.65;
    padding-right: 50px;
    display: none;
    }

    .screenEditMasc{
    font-size: 12px;
    margin-bottom: 20px;
    text-align: center;
    color: #0a0a40;
    }

    .screenEdit{
    font-size: 12px;
    margin-bottom: 20px;
    text-align: center;
    color: #0a0a40;
    }

    .screenEditMasc h2 {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
    color: #454545;
    }

    .screenEditMasc input {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    }

    .screenEdit input {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    }

    .btnguardar {
        color: #7200ff;
        background-color: white;
        border: none;
        border-radius: 5px;
        padding: 10px 20px;
        font-weight: bold;
        transition: background-color 0.3s ease;
        margin: 5px;
        box-shadow: rgba(0, 0, 0, 0.18) -1px 3px 11px;
    }
    .btncancelar{
        background-color: white;
        color: rgb(255, 0, 0);
        box-shadow: rgba(0, 0, 0, 0.18) -1px 3px 11px;
    }
    .btncancelar:hover{
        background-color: rgb(156, 1, 1);
    }

    .btnguardar:hover {
        background-color: #0a0a40; /* azul más oscuro al pasar el mouse */
    }
    
}
@media (min-width: 1020px){
    .ContenedorGeneral {
        width: 98%;
        height: 86.5%;
        position: relative;
        inset: 0% 0% 0% 0%;
        height: 300px;
        height: 100vh;
        
    }
    .redes{
        position:absolute;
        bottom:-56px; left:0; right:0;
        display:flex; gap:8px;
        align-items:center;
        justify-content:center;
        flex-wrap:wrap;
    }
    .svg-container {
        margin-top: 3px; /* Ajusta la distancia desde arriba */
        width: 100%;
        display: flex;
        justify-content: center; /* Centra el SVG */
    }
    .marcanombre {
        width: 26%;
        height: auto;
    }
    .brand {
        color: rgb(44, 44, 44);
        width: 100%;
        font-size: 120%;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        position: absolute;
        text-align: center;
        bottom: 2%;
        z-index: 3;
    }
    .footer {
        width: 100%;
        height: 15%;
        position: absolute;
        left: -0.5%;
        top: 1%;
    }
    .frontmenu {
        width: 100%;
        position: fixed;
        background-color: black;
        left: 0%;
        bottom: 0%;
        z-index: 4;
    }
    .footerback {
        width: 98%;
        height: 74%;
        position: absolute;
        left: 0.5%;
        top: 34%;
        z-index: 1;
    }
    .contenedor-body {
        /*background: linear-gradient(150deg, rgba(0, 42, 182, 0.8), rgba(48, 0, 102, 0.8));*/
        width: 38%;
        height: 107.5%;
        margin: 0% 0% 0% 0%;
        border-radius: 5px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        z-index: 1;
    }
    .contenedor-contacto {
        height: 43%;
    }
    .fotoAnuario {
        width: 145px;
        height: 277px;
        border-radius: 10%;
        position: absolute;
        inset: -9% 0% 0% 0%;
        margin: auto;
        clip-path: circle(43%);
        box-shadow: 0px 1px 1px 1px white;
        
    }
    .reaccione {
        width: 115px;
        height: 42px;
        position: absolute;
        bottom: 0%;
        left: 10%;
        margin: auto;
        clip-path: circle(24%);
        background-color: rgba(44, 44, 44, 0.5);
        border-radius: 0% 0% 15px 15px;
        mask-image: linear-gradient(1deg,black 60%, transparent);
    }
        .viewOpen{
        width: 36px;
        height: 34px;
        margin: 0% 30% 3% 0%;
        position: absolute;
        bottom: -2%;
        right: 5%;
    }
    .viewOpen:active{
        animation: viewRebot 1s running;
    }
}

/* ── Transiciones entre páginas ─────────────────────────────────────── */

/* Entrada: fade-in solo en el contenido, el menú no participa */
body > *:not(.frontmenu) {
  animation: pageEntrada 0.3s ease-out both;
}

@keyframes pageEntrada {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Salida: pointer-events en body para bloquear clics;
   opacity solo en los hijos que NO son el menú de navegación */
body.page-saliendo {
  pointer-events: none;
}
body.page-saliendo > *:not(.frontmenu) {
  opacity: 0 !important;
  transition: opacity 0.18s ease-in;
}
