.boton-aux {
    background: #6c757d;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 16px;
    display: table;
    text-shadow: none;
    line-height: 1.2;
    margin: 20px auto;
    font-weight: 400;
    padding: 14px 25px;
}

.user-social-profile ul li a i {
    background: rgba(99, 110, 123, 0.1);
    width: 42px;
    height: 42px;
    line-height: 42px;
    font-size: 17px;
    border-radius: 50%;
    color: #636e7b;
    text-align: center;
}

/* Ajuste para textos largos dentro de los thumbnails (colectivos, etc.) */
.thumbnail {
    position: relative;
}

.text-size {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 4px 8px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    line-height: 1.1;
    font-size: clamp(13px, 2.7vw, 20px);
    word-break: break-word;
    hyphens: auto;
}

@media (max-width: 576px) {
    .text-size {
        padding: 4px 6px;
    }
}

.empresa-logo-row {
    margin-top: 12px;
}

.empresa-logo-row .empresa-logo-card {
    display: inline-block;
    max-width: 220px;
}

.empresa-logo-row .empresa-logo-card .empresa-logo-link {
    display: inline-block;
    border: 0;
    box-shadow: none;
    background: none;
    padding: 0;
    cursor: zoom-in;
}

@media (max-width: 768px) {
    .empresa-logo-row .empresa-logo-card {
        max-width: 100%;
        width: 100%;
    }
}

.map-link-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 12px;
    border-radius: 999px;
    background: #6c63ff;
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}

.map-link-badge i {
    margin-right: 4px;
}

.map-link-badge:hover,
.map-link-badge:focus {
    background: #5149d1;
    color: #ffffff;
    text-decoration: none;
}

.map-badge-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.map-go-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    border-radius: 999px;
    background: #ff7f50;
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}

.map-go-badge i {
    margin-right: 4px;
}

.map-go-badge:hover,
.map-go-badge:focus {
    background: #e36d41;
    color: #ffffff;
    text-decoration: none;
}

.empresa-enlace-btn {
    margin: 10px 0;
    font-size: 13px;
}

.map-link-badge.empresa-enlace-btn {
    background: #25d366;
    color: #ffffff;
}

.map-link-badge.empresa-enlace-btn:hover,
.map-link-badge.empresa-enlace-btn:focus {
    background: #1ebe5b;
    color: #ffffff;
}

.share-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 8px;
}

.share-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #6c757d;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
    cursor: pointer;
    border: 0;
    padding: 0;
    font-size: 14px;
}

.share-trigger:hover,
.share-trigger:focus {
    background: #5a6268;
    color: #ffffff;
    text-decoration: none;
}

.share-trigger:focus-visible {
    outline: 2px solid #343a40;
    outline-offset: 2px;
}

.share-options {
    position: absolute;
    top: 38px;
    right: 0;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 8px;
    display: none;
    z-index: 20;
    min-width: 160px;
}

.share-dropdown.open .share-options {
    display: block;
}

.share-option-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    color: #333333;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}

.share-option-link i {
    font-size: 16px;
}

.share-option-link:hover,
.share-option-link:focus {
    background: #f1f1f1;
    color: #000000;
    text-decoration: none;
}

.share-options:focus-within,
.share-dropdown:focus-within .share-options {
    display: block;
}

.empresa-image-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.65);
    z-index: 2000;
    padding: 20px;
    overflow: auto;
}

.empresa-image-modal.open {
    display: flex;
}

.empresa-image-dialog {
    position: relative;
    max-width: min(90vw, 960px);
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    padding: 20px;
    max-height: calc(100vh - 80px);
    overflow: hidden;
}

.empresa-image-dialog img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    max-height: calc(100vh - 180px);
    object-fit: contain;
}

.empresa-image-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(36, 44, 54, 0.85);
    color: #ffffff;
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.empresa-image-close:focus-visible {
    outline: 2px solid #6c63ff;
    outline-offset: 2px;
}

.empresa-image-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.empresa-image-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #6c63ff;
    color: #ffffff;
    border-radius: 999px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease-in-out;
}

.empresa-image-link:hover,
.empresa-image-link:focus {
    background: #5149d1;
    color: #ffffff;
    text-decoration: none;
}

.empresa-image-link:focus-visible {
    outline: 2px solid #343a40;
    outline-offset: 2px;
}

.empresa-image-link.is-hidden {
    display: none !important;
}

body.empresa-image-modal-open {
    overflow: hidden;
}
