/* ============================
   ICONOS SVG DEL SPRITE
============================ */

.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    flex-shrink: 0;
    margin-right: 8px;
    vertical-align: middle;
}

svg.icon {
    max-width: none !important;
    height: 20px !important;
}

/* ============================
   BOTONES DE COMPARTIR
============================ */

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    width: 100%;
    justify-content: center;
}

.share-btn:hover {
    background: var(--color-primary-strong);
}

.share-btn:active {
    transform: scale(0.97);
}

/* ============================
   POPUP DE COMPARTIR
============================ */

#share-popup.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#share-popup.hidden {
    display: none;
}

#share-popup .modal-content {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    position: relative;
    animation: fadeIn 0.25s ease-out;
}

#share-popup .modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
