/* Help Tooltips Styles */
.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background-color: #6c757d;
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    margin-left: 6px;
    cursor: help;
    transition: background-color 0.2s;
}

.help-icon:hover {
    background-color: #495057;
}

.sdp-tooltip {
    position: absolute;
    background-color: #ffffff;
    color: #1a202c;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    max-width: 280px;
    z-index: 10000;
    pointer-events: none;
    line-height: 1.5;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    /* Subtle border ring */
    font-weight: 500;
}

.sdp-tooltip.hidden {
    display: none;
}

/* Tooltip Arrow */
.sdp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    margin-left: -6px;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    /* Create the border effect by using box-shadow instead of border settings */
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05);
    transform: rotate(45deg);
}

/* Shepherd Tour Overrides to match Tooltips */
.shepherd-element {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.05) !important;
    color: #1a202c !important;
    font-family: inherit;
    max-width: 320px !important;
}

.shepherd-has-title .shepherd-content .shepherd-header {
    background-color: transparent !important;
    padding: 1rem 1rem 0 1rem !important;
    border-radius: 12px 12px 0 0 !important;
}

.shepherd-text {
    color: #1a202c !important;
    padding: 0.5rem 1rem 1rem 1rem !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.shepherd-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a202c !important;
}

.shepherd-arrow::before {
    background-color: #ffffff !important;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05) !important;
}

.shepherd-button {
    background: #3288e6;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 6px 16px !important;
}

.shepherd-footer {
    padding: 0 1rem 1rem 1rem !important;
}