/* Custom tooltip styling */
.custom-tooltip {
    opacity: 1 !important;
}

.custom-tooltip.show {
    opacity: 1 !important;
}

.custom-tooltip .tooltip-inner {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    max-width: 450px;
    min-width: 350px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 1 !important;
}

/* Tooltip content layout */
.tooltip-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tooltip-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #34495e;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    padding: 5px;
}

.tooltip-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tooltip-text {
    flex: 1;
}

.tooltip-row1 {
    font-size: 13px;
    color: #95a5a6;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tooltip-row2 {
    font-size: 15px;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.3;
}

/* Arrow styling for all directions */
.custom-tooltip.bs-tooltip-top .arrow::before {
    border-top-color: #2c3e50;
    opacity: 1 !important;
}

.custom-tooltip.bs-tooltip-bottom .arrow::before {
    border-bottom-color: #2c3e50;
    opacity: 1 !important;
}

.custom-tooltip.bs-tooltip-left .arrow::before {
    border-left-color: #2c3e50;
    opacity: 1 !important;
}

.custom-tooltip.bs-tooltip-right .arrow::before {
    border-right-color: #2c3e50;
    opacity: 1 !important;
}

/* Link styling */
.seo-link.tooltip-enabled {
    position: relative;
    cursor: pointer;
}

/* Ensure tooltip appears above other elements */
.custom-tooltip {
    z-index: 9999;
}

/* Override Bootstrap's default opacity */
.tooltip {
    opacity: 1 !important;
}

.tooltip.show {
    opacity: 1 !important;
}
