/*Custom scrollbar when it comes Webkit (Chrome, Edge, Safari) */
.guide-tabs-scroll::-webkit-scrollbar {
  height: 6px;              /* 가로 스크롤바 두께 */
  background: transparent;  /* 트랙 배경 */
}
.guide-tabs-scroll::-webkit-scrollbar-thumb {
  background: #888;         /* 스크롤바 색상 */
  border-radius: 4px;       /* 둥글게 */
}
.guide-tabs-scroll::-webkit-scrollbar-thumb:hover {
  background: #555;         /* 호버 시 색상 */
}
.guide-tabs-scroll {/* Firefox */
  scrollbar-width: thin;                 /* 얇은 스크롤바 */
  scrollbar-color: #888 transparent;     /* thumb, track 색상 */
  overflow-y: hidden;
}

/* Guide Tabs Horizontal Sliding */
.guide-tabs-scroll {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    position: relative;
    height: 56px;
  }
  .guide-tabs-inner {
    display: flex;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
    will-change: transform;
    height: 56px;
    gap: 16px;
    margin-left: 24px;
  }
  .guide-tabs-inner .tab {
    /* min-width: 110px; */
    text-align: center;
    font-size: 18px;
    color: #999;
    padding: 12px 8px 8px 8px;
    cursor: pointer;
    font-family: 'Pretendard Variable', 'Inter', 'Poppins', sans-serif;
    font-weight: 400;
    background: none;
    border: none;
    outline: none;
    transition: color 0.2s, font-size 0.2s, font-weight 0.2s;
    white-space: nowrap;
  }
  .guide-tabs-inner .tab.active {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    pointer-events: none;

  }
  
  /* Remove old .guide-tabs and .guide-tabs .tab styles if present */
  .guide-tabs { display: none !important; }
  
  /* Guide Tab Content Panel - Sliding Animation (final) */
  .guide-tab-content {
    width: 100%;
    margin-top: 16px;
    position: relative;
    height: 60px;
    overflow: hidden;
  }
  .tab-panel {
    position: absolute;
    top: 0; left: 0; width: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1), opacity 0.4s cubic-bezier(.4,0,.2,1);
  }
  .tab-panel.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    transform: translateX(0);
  }
  .tab-panel.slide-in-left {
    transform: translateX(-100%);
    opacity: 1;
  }
  .tab-panel.slide-in-right {
    transform: translateX(100%);
    opacity: 1;
  }
  .tab-panel.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
  }
  .tab-panel.slide-out-right {
    transform: translateX(100%);
    opacity: 0;
  }
  .guide-tabs-scroll.dragging {
    cursor: grabbing;
  }
  
  /* Service Select Bar (Figma 627:376) */
  .service-select {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    /* padding: 0 12px; */
    max-width: 375px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    transition: scroll-left 0.4s cubic-bezier(.4,0,.2,1);
  }
  .service-select::-webkit-scrollbar {
    display: none;
  }
  .service-item {
    background: #F1F1F51A;
    border-radius: 32px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 69px;
    padding: 0 20px;
    font-family: 'Inter', 'Pretendard Variable', sans-serif;
    font-size: 20px;
    font-weight: 600;
  }
  .service-item.active {
    background: #fff;
  }
  .service-label.assistant { color: #fcb13f; }
  .service-label.melon { color: #00cd3c; }
  .service-label.genie { color: #0c9eff; }
  .service-label.bugs {
    background: linear-gradient(90deg, #ff3c00 0%, #ff6f3c80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    background-clip: text;
  }
  .service-label.flo { color: #ac46ff; }
  .service-label.spotify { color: #6ee36a; }
  .service-label.youtube { color: #ff2d2d; }
  .service-label.dual_number { color: #ff4778;}
  .service-select .service-item:last-child {
    margin-right: 46px;
  }
  .service-select .service-item:first-child {
    margin-left: 20px;
  }

  .mg-t{
    margin-top: 50px;
  }