/* ===================================================
   COMPONENTS.CSS — Elementos visuales reutilizables
   =================================================== */

/* Color neón en cards */
.card,
.button,
.chip,
.chat-icon-btn {
    box-shadow:
        0 0 12px rgba(255, 0, 255, 0.45),
        inset 0 0 6px rgba(255, 0, 255, 0.25);
}

/* Floating edit button */
.floating-edit {
    position: fixed;
    right: 16px;
    bottom: 70px;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .7);
    cursor: pointer;
    z-index: 30;
}

/* Sidebar Featured Card */
.side-featured-card {
    margin: 14px 12px;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffcc00, #ff9f1c);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
}

.side-featured-title {
    font-size: 15px;
    font-weight: 800;
    color: #000;
}

.side-featured-avatars {
    display: flex;
    gap: 10px;
}

.sfa {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #0005;
}

.side-featured-btn {
    background: #000;
    color: #ffcc00;
    padding: 8px 12px;
    border-radius: 999px;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
}

/* Stories Miniature */
.storyItem {
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.storyAvatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    margin-bottom: 4px;
}

.storyName {
    font-size: 12px;
    color: #ddd;
}

/* Story Viewer */
#storyViewer .modal {
    background: #000;
    padding: 0;
}

#storyProgressBar {
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
}

#storyProgressFill {
    height: 100%;
    background: var(--accent);
    width: 0%;
}

/* Chat Icon */
.chat-icon-wrap {
    position: absolute;
    top: 6px;
    right: 6px;
}

.chat-icon-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .6);
    border: 1px solid #444;
    position: relative;
}

.chat-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: red;
    color: #fff;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 999px;
}

/* ===================================================
   ANUNCIO SUPERIOR 300x50 — RESPONSIVE
   =================================================== */

.ad-public-top {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    overflow: hidden !important;
    position: relative;
    z-index: 1;
}

/* El contenedor interno de Google DEBE estar limitado */
.ad-public-top ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
    height: 50px !important;
    max-height: 50px !important;
    overflow: hidden !important;
}

/* Todos los iframes internos también deben estar restringidos */
.ad-public-top iframe,
.ad-public-top div[id*="aswift"],
.ad-public-top div[id*="host"] {
    width: 100% !important;
    height: 50px !important;
    max-height: 50px !important;
    overflow: hidden !important;
    position: absolute !important;
    top: 0;
    left: 0;
}

/* ===================================================
   ANUNCIO 300x250 EN EL GRID DE USUARIOS
   =================================================== */

.ad-user-block {
    grid-column: 1 / -1 !important;
    width: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    margin: 12px 0;
    padding: 0;
    background: #000;
    overflow: hidden !important;
}

/* CENTRAR el ins */
.ad-user-block ins.adsbygoogle {
    display: block !important;
    margin: 0 auto !important;
    width: 300px !important;
    height: 250px !important;
}

/* CENTRAR el iframe */
.ad-user-block iframe {
    display: block !important;
    margin: 0 auto !important;
    width: 300px !important;
    height: 250px !important;
}

/* CENTRAR contenedores internos de Google */
.ad-user-block div[id*="aswift"],
.ad-user-block div[id*="host"],
.ad-user-block div[id*="container"] {
    display: block !important;
    margin: 0 auto !important;
    width: 300px !important;
    height: 250px !important;
}

/* ===================================================
   MEDIA QUERIES
   =================================================== */

@media (max-width: 600px) {}



/* ===================================================
   BOTÓN ELIMINAR FOTO PRIVADA
   =================================================== */

.private-del-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid #ff4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.private-del-btn svg {
    width: 14px;
    height: 14px;
    stroke: #ff4444;
}

.private-del-btn:hover {
    background: rgba(255, 0, 0, 0.75);
}

/* ===============================
   MODAL SOLICITUDES PRIVADAS
   ESTILO ELEGANTE
   =============================== */

#privateRequestsModal .modal {
    background: #0f0f0f;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

/* Header */
#privateRequestsModal .modal-header {
    background: #131313;
    padding: 14px;
    border-bottom: 1px solid #1f1f1f;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#privateRequestsModal .modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #f1f1f1;
}

#privateRequestsModal .close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
}

#privateRequestsModal .close-btn:hover {
    color: #fff;
}

/* Contenedor */
#privateRequestsList {
    padding: 14px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Tarjeta */
.private-req-item {
    background: #151515;
    border: 1px solid #222;
    padding: 14px;
    border-radius: 14px;
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
    transition: background .2s;
}

.private-req-item:hover {
    background: #1b1b1b;
}

/* Avatar */
.private-req-avatar {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    overflow: hidden;
    background: #222;
    flex-shrink: 0;
}

.private-req-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Información */
.private-req-info {
    flex: 1;
    min-width: 0;
}

.private-req-name {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.private-req-status {
    color: #bbb;
    font-size: 12px;
    margin-top: 4px;
}

/* Botones */
.private-req-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Botón aceptar */
.btn-req-accept {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    background: #ffcc00;
    color: #000;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background .15s;
}

.btn-req-accept:hover {
    background: #ffdb4d;
}

/* Botón denegar */
.btn-req-deny {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    background: #2b0000;
    color: #ff6666;
    border-radius: 10px;
    border: 1px solid #802020;
    cursor: pointer;
    transition: background .15s;
}

.btn-req-deny:hover {
    background: #3d0000;
}

/* ===============================
   PERFIL HEADER – BASE (DESKTOP)
=============================== */

.profile-sheet-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 4px 0;
}

.profile-avatar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.profile-avatar-big {
    position: relative;
}

/* AVISO MODERNO */
.profile-photo-warning {
    padding: 8px 14px;
    border-radius: 999px;
    /* pill */
    background: rgba(255, 204, 0, 0.12);
    border: 1px solid rgba(255, 204, 0, 0.35);

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #ffcc00;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;

    max-width: 220px;
    text-align: center;
}

.profile-photo-warning .warn-icon {
    font-size: 15px;
    line-height: 1;
}

/* INFO DERECHA */
.profile-main-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ===============================
   PERFIL HEADER – MOBILE
=============================== */

@media (max-width: 600px) {

    .profile-sheet-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }

    .profile-avatar-col {
        gap: 8px;
    }

    /* AVISO MÁS ANCHO Y SUAVE */
    .profile-photo-warning {
        width: auto;
        max-width: 90%;
        padding: 8px 14px;
        border-radius: 14px;

        background: linear-gradient(135deg,
                rgba(255, 204, 0, 0.22),
                rgba(255, 204, 0, 0.08));

        font-size: 12px;
        line-height: 1.25;
    }

    .profile-main-info {
        align-items: center;
        gap: 4px;
    }

    /* ===============================
   BADGE VERIFICADO (CIRCULAR)
=============================== */
    .verified-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 16px;
        /* ?? tama�o del c�rculo */
        height: 16px;
        border-radius: 50%;
        background: #3ea6ff;
        margin-left: 4px;
        flex-shrink: 0;
    }

    .verified-badge svg {
        width: 10px;
        /* ?? tama�o del check */
        height: 10px;
        stroke: #fff;
    }
}