#ct-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999990;
    cursor: pointer;
}

#ct-highlight {
    position: absolute;
    z-index: 999995;
    border-radius: 14px;
    box-shadow: 0 0 0 2px rgba(77, 175, 255, 0.2), 0 0 20px rgba(77, 175, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    transition: top 0.3s ease, left 0.3s ease, width 0.3s ease, height 0.3s ease;
    display: none;
}

#ct-tooltip {
    position: absolute;
    z-index: 999998;
    background: rgb(22, 27, 38);
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(77, 175, 255, 0.18);
    border-radius: 16px;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.45),
        0 0 24px rgba(77, 175, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 20px 22px 16px;
    max-width: 360px;
    font-family: 'Inter', sans-serif;
    transition: opacity 0.2s ease;
}

.ct-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 4px;
}

.ct-title {
    color: #fff;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
}

.ct-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    font-size: 1rem;
    cursor: pointer;
    padding: 0 0 0 12px;
    line-height: 1;
    transition: color 0.2s ease;
}

.ct-close:hover {
    color: rgba(255, 255, 255, 0.7);
}

.ct-body {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.55;
    padding: 8px 0 12px;
}

.ct-progress {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    height: 4px;
    margin: 8px 0 4px;
    overflow: hidden;
}

.ct-progress-bar {
    background: linear-gradient(90deg, #4dafff, #6dc0ff);
    border-radius: 6px;
    height: 100%;
    transition: width 0.3s ease;
}

.ct-footer {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 12px;
    margin-top: 8px;
}

.ct-btn {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-shadow: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 7px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ct-btn:hover {
    background: rgba(77, 175, 255, 0.15);
    border-color: rgba(77, 175, 255, 0.3);
    color: #fff;
}

.ct-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(77, 175, 255, 0.2);
    outline: none;
}

.ct-next {
    background: linear-gradient(135deg, rgba(77, 175, 255, 0.2), rgba(77, 175, 255, 0.1));
    border-color: rgba(77, 175, 255, 0.25);
    color: #4dafff;
}

.ct-next:hover {
    background: linear-gradient(135deg, rgba(77, 175, 255, 0.3), rgba(77, 175, 255, 0.15));
    border-color: rgba(77, 175, 255, 0.4);
    color: #6dc0ff;
}

@media (max-width: 768px) {
    #ct-tooltip {
        position: fixed !important;
        bottom: 12px !important;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        max-width: calc(100vw - 24px) !important;
        width: calc(100vw - 24px) !important;
        max-height: 45vh !important;
        overflow-y: auto !important;
        margin: 0 !important;
    }
}
