/* ===== ESTILO GENERAL ===== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f6f8;
}

/* ===== ENCABEZADO ===== */

header{
    background:#ff914d;
    color:white;
    padding:15px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:30px;
    font-weight:bold;
}

.busqueda input{
    width:300px;
    padding:10px;
    border:none;
    border-radius:20px;
}

nav button{
    background:white;
    color:#ff914d;
    border:none;
    padding:10px 15px;
    border-radius:10px;
    cursor:pointer;
    margin-left:8px;
    font-weight:bold;
}

nav button:hover{
    background:#ffe3d1;
}

/* ===== CONTENEDOR ===== */

.contenedor{
    width:95%;
    margin:30px auto;
    display:grid;
    grid-template-columns:220px 1fr 280px 220px;
    gap:20px;
}

/* ===== MENÚ Y PERFIL ===== */

.menu,
.perfil{
    background:white;
    border-radius:20px;
    padding:20px;
    box-shadow:0 4px 10px rgba(0,0,0,.1);
}

.menu h3,
.perfil h3{
    margin-bottom:15px;
}

.menu button{
    width:100%;
    padding:12px;
    margin-bottom:10px;
    border:none;
    border-radius:12px;
    background:#ff914d;
    color:white;
    cursor:pointer;
}

.menu button:hover{
    background:#ff7b27;
}

/* ===== FEED ===== */

.feed h2{
    margin-bottom:20px;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.publicacion{
    background:white;
    border-radius:20px;
    padding:20px;
    margin-bottom:20px;
    box-shadow:0 4px 10px rgba(0,0,0,.1);
    width:100%;
}

.publicacion img{
    width:100%;
    border-radius:15px;
    margin:15px 0;
}

.publicacion h3{
    margin-bottom:8px;
}
.feed{
    width:100%;
}
/* ===== BOTONES ===== */

.acciones{
    display:flex;
    gap:8px;
    margin-top:15px;
}

.acciones button{
    flex:1;
    min-width:0;
    padding:10px 6px;
    border:none;
    border-radius:12px;
    background:#ff914d;
    font-size:14px;
    color:white;
    cursor:pointer;
    font-weight:bold;
}

.acciones button:hover{
    background:#ff7b27;
}
/* ===== REGISTRO ===== */

.registro-container{
    width:100%;
    max-width:400px;
    margin:80px auto;
    background:white;
    padding:30px;
    border-radius:20px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    text-align:center;
}

.registro-container h1{
    margin-bottom:25px;
    color:#ff914d;
}

.registro-container input{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:10px;
    font-size:16px;
}

.registro-container button{
    width:100%;
    padding:12px;
    border:none;
    border-radius:10px;
    background:#ff914d;
    color:white;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

.registro-container button:hover{
    background:#ff7b27;
}

.registro-container a{
    color:#ff914d;
    text-decoration:none;
    font-weight:bold;
}

.registro-container a:hover{
    text-decoration:underline;
}
.imagen-publicacion{
    width:100%;
    max-width:500px;
    max-height:500px;
    display:block;
    margin:10px auto;
    border-radius:12px;
    object-fit:cover;
    border:2px solid #ddd;
}
.destacados {
    width: 280px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: fit-content;
}

.destacados h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #ff8c00;
}

.gato-destacado {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s;
}

.gato-destacado:hover {
    background: #fff4e6;
}

.gato-destacado img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff8c00;
}

.gato-destacado h4 {
    margin: 10px 0 5px;
}

.gato-destacado p {
    color: #666;
    font-size: 14px;
}
.navegacion-feed{
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.navegacion-feed button{
    background: #ff8c00;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.navegacion-feed button:hover{
    background: #ff6a00;
    transform: scale(1.05);
}
#miaus-publicaciones .imagen-publicacion {
    width: 200%;
    max-width: 200px;
    max-height: 300px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
    margin: 15px auto;
}
#miaus-publicaciones .publicacion {
    max-width: 500px;
    margin: 20px auto;
}

.video-publicacion{
    display: block;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 16 / 9;

    margin: 15px auto;

    border-radius: 15px;
    object-fit: cover;

    background: #000;
}
.audio-publicacion{
    display: block;
    width: 100%;
    max-width: 450px;
    margin: 15px auto;
}
.grid-miaus{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
    padding:20px;
}

#miaus-publicaciones {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

#miaus-publicaciones .publicacion {
    width: 100%;
    box-sizing: border-box;
}
#panel-comentarios-lateral{
    position: fixed;
    right: 20px;
    top: 100px;

    width: 320px;
    height: 75vh;

    background: white;

    border-radius: 15px;

    box-shadow: 0 0 20px rgba(0,0,0,.15);

    display:flex;
    flex-direction:column;

    overflow:hidden;
}

#lista-comentarios{
    flex:1;
    overflow-y:auto;
    padding:15px;
}

.escribir-comentario{
    display:flex;
    padding:10px;
    gap:10px;
}

#texto-comentario{
    flex:1;
}

#enviar-comentario{
    cursor:pointer;
}
/* ⭐ Publicaciones de Favoritos */
#favoritos-publicaciones {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    gap: 20px;
    justify-content: center;
    align-items: start;
}

#favoritos-publicaciones .publicacion {
    width: 300px;
    max-width: 300px;
    padding: 15px;
    margin: 0;
    box-sizing: border-box;
}

/* Imágenes */
#favoritos-publicaciones .imagen-publicacion {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
}

/* Vídeos */
#favoritos-publicaciones .video-publicacion {
    width: 100%;
    max-height: 220px;
}

/* Audios */
#favoritos-publicaciones .audio-publicacion {
    width: 100%;
}

/* Pantallas pequeñas */
@media (max-width: 700px) {

    #favoritos-publicaciones {
        grid-template-columns: 1fr;
    }

    #favoritos-publicaciones .publicacion {
        width: 100%;
        max-width: 350px;
        margin: auto;
    }

}
/* 🤝 COLABORADORES */

.zona-colaboradores {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
}

.zona-colaboradores h1 {
    margin-bottom: 10px;
}

.colaboradores {
    display: grid;
    grid-template-columns: repeat(3, 200px);
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.colaborador {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.avatar-colaborador {
    font-size: 55px;
}

.colaborador h2 {
    margin: 10px 0 5px;
}

.colaborador p {
    margin: 0;
}


/* Móvil */

@media (max-width: 700px) {

    .colaboradores {
        grid-template-columns: 1fr;
    }

}
/* EDITAR PERFIL */

.editar-perfil {
    width: 90%;
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.editar-perfil h1 {
    margin-bottom: 30px;
}

.foto-perfil {
    margin-bottom: 25px;
}

#vista-foto {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
    overflow: hidden;
}

.foto-perfil-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foto-perfil label {
    display: inline-block;
    padding: 8px 15px;
    background: #ff914d;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

#foto-input {
    display: none;
}

.campo-perfil {
    text-align: left;
    margin-bottom: 20px;
}

.campo-perfil label {
    display: block;
    margin-bottom: 7px;
    font-weight: bold;
}

.campo-perfil input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

#guardar-perfil,
#cancelar-perfil {
    padding: 10px 18px;
    margin: 5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

#guardar-perfil {
    background: #ff914d;
    color: white;
}
#foto-perfil {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #eee;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 50px;
}

.foto-perfil-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.publicacion {
    position: relative;
}

.menu-publicacion {
    position: absolute;
    top: 10px;
    right: 10px;
}

.btn-tres-puntos {
    border: none;
    background: transparent;
    font-size: 25px;
    cursor: pointer;
    padding: 2px 8px;
}

.opciones-denuncia {
    display: none;
    position: absolute;
    right: 0;
    top: 35px;
    width: 230px;
    background: white;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.opciones-denuncia button {
    display: block;
    width: 100%;
    border: none;
    background: white;
    padding: 10px;
    text-align: left;
    cursor: pointer;
    border-radius: 7px;
}

.opciones-denuncia button:hover {
    background: #f1f1f1;
}
.pagina-privacidad {
    width: 90%;
    max-width: 700px;
    margin: 40px auto;
}

.pagina-privacidad h1 {
    text-align: center;
    margin-bottom: 30px;
}

.opcion-privacidad {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.opcion-privacidad h2 {
    margin-top: 0;
}

.opcion-privacidad label {
    display: block;
    cursor: pointer;
}

.opcion-privacidad input {
    margin-right: 8px;
}

#guardar-privacidad {
    display: block;
    margin: 25px auto;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #ff914d;
    color: white;
    cursor: pointer;
}
.pagina-ayuda {
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
}

.pagina-ayuda h1 {
    text-align: center;
    margin-bottom: 15px;
}

.pagina-ayuda > p {
    text-align: center;
    margin-bottom: 30px;
}

.ayuda-seccion {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.ayuda-seccion h2 {
    margin-top: 0;
}

.actualizacion,
.funcion-desarrollo {
    padding: 15px;
    margin-top: 15px;
    border-radius: 10px;
    background: #f7f7f7;
}

.actualizacion h3,
.funcion-desarrollo h3 {
    margin-top: 0;
}
.ideas-seccion {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.privacy-container {
            max-width: 800px;
            margin: 40px auto;
            padding: 20px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333333;
            line-height: 1.6;
        }
        .privacy-container h1 { color: #2c3e50; border-bottom: 2px solid #ecf0f1; padding-bottom: 10px; }
        .privacy-container h2 { color: #34495e; margin-top: 30px; }
        .privacy-container ul { padding-left: 20px; }
        .privacy-container li { margin-bottom: 8px; }
        .privacy-date { font-style: italic; color: #7f8c8d; margin-bottom: 30px; }
        .privacy-contact { background-color: #f8f9fa; padding: 15px; border-left: 4px solid #3498db; margin-top: 15px; }
        #cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  background-color: #ffffff;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
  padding: 20px;
  border-radius: 8px;
  z-index: 9999;
  font-family: sans-serif;
}
.cookie-banner-hidden {
  display: none !important;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.btn-cookie {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}
.btn-accept { background-color: #4CAF50; color: white; }
.btn-reject { background-color: #f44336; color: white; }
