@charset "utf-8";

.tippy-box[data-theme~='custom-tooltip'] {
    background-color: midnightblue;
    color: white;
    padding: 0; /* Adjusted padding for less space around the text */
    border-radius: 4px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.tippy-box[data-theme~='custom-tooltip'] .tippy-arrow {
    color: midnightblue;
}

.tippy-box[data-theme~='custom-tooltip'][data-placement^='top'] > .tippy-arrow::before {
    border-top-color: midnightblue;
}

.tippy-box[data-theme~='custom-tooltip'][data-placement^='bottom'] > .tippy-arrow::before {
    border-bottom-color: midnightblue;
}

.tippy-box[data-theme~='custom-tooltip'][data-placement^='left'] > .tippy-arrow::before {
    border-left-color: midnightblue;
}

.tippy-box[data-theme~='custom-tooltip'][data-placement^='right'] > .tippy-arrow::before {
    border-right-color: midnightblue;
}

/* ▼ jQuery UI autocompleteの見た目調整（縦並び・スクロール・スマホ対応） */
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    font-size: 16px;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ccc;
  }
  
  .ui-menu-item {
    display: block !important;
    padding: 8px 12px;
    cursor: pointer;
  }
  
  .ui-menu-item:hover {
    background-color: #eee;
  }