@import url("/user/css/my-page/option-set-time.css");
@import url("/user/css/my-page/option-notice.css");
@import url("/user/css/my-page/option-notice-detail.css");
@import url("/user/css/my-page/option-terms.css");
@import url("/user/css/my-page/option-privacy.css");
@import url("/user/css/my-page/option-info.css");
@import url("/user/css/my-page/withdraw.css");
@import url("/user/css/components/numericInput.css");

#my .divider {
    width: 0.5px;
    height: clamp(16.8px, 5.6vw, 28px);
    background-color: #D9D9D9;
}

#my .set-container {
    padding-top: clamp(24px, 8vw, 40px);
    padding-bottom: clamp(108px, 36vw, 180px);
}

#my {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    background: #f8f8f8;
}

#my .content-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    background-color: #FFFDFD;
    z-index: 1;
}

#my #myPage {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

#my #myPage .mypage-info-container {
    padding: clamp(24px, 8vw, 40px) clamp(12.8px, 4.264vw + 0.01px, 21.33px);
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper {
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 8vw, 40px) clamp(14.4px, 4.8vw, 24px);
    background: var(--white300);
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    gap: clamp(19.2px, 6.4vw, 32px);
    cursor: pointer;
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-info-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 clamp(9.6px, 3.2vw + 12px, 16px);
    gap: clamp(12.4px, 4.8vw - 2px, 22px);
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-info-wrapper .profile-image {
    display: flex;
    align-items: center;
    border-radius: 100px;
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-info-wrapper .profile-image img {
    width: clamp(48px, 16vw, 80px);
    height: clamp(48px, 16vw, 80px);
    border-radius: 100px;
    object-fit: cover;
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-info-wrapper .info-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(3.8px, 1.6vw - 1px, 7px);
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-info-wrapper .info-wrapper .message {
    font-size: clamp(11.6px, 3.2vw + 2px, 18px);
    font-weight: 500;
    color: var(--black100);
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-info-wrapper .info-wrapper .name-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(16.4px, 4.8vw + 2px, 26px);
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-info-wrapper .info-wrapper .name-wrapper .name {
    font-size: clamp(16.4px, 4.8vw + 2px, 26px);
    color: var(--black100);
    font-weight: 700;
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-info-wrapper .info-wrapper .name-wrapper .icon {
    display: flex;
    align-items: center;
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-info-wrapper .info-wrapper .name-wrapper img {
    width: clamp(12.8px, 4.264vw + 0.01px, 21.33px);
}


#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-goal-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(8px, 2.664vw, 13.33px);
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-goal-wrapper .goal-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(4.8px, 1.6vw, 8px);
    width: 100%;
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-goal-wrapper .goal-type .type-title {
    font-size: clamp(12.8px, 4.264vw + 0.01px, 21.33px);
    font-weight: 600;
    color: var(--red500);
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-goal-wrapper .goal-kcal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(4.8px, 1.6vw, 8px);
    width: 100%;
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-goal-wrapper .goal-kcal .kcal-amount {
    font-size: clamp(12.8px, 4.264vw + 0.01px, 21.33px);
    font-weight: 600;
    color: var(--red500);
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-goal-wrapper .goal-streak {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(4.8px, 1.6vw, 8px);
    width: 100%;
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-goal-wrapper .goal-streak .streak-day {
    font-size: clamp(12.8px, 4.264vw + 0.01px, 21.33px);
    font-weight: 600;
    color: var(--red500);
}

#my #myPage .mypage-info-container .mypage-info-goal-wrapper .mypage-goal-wrapper .sub {
    font-size: clamp(9.6px, 3.2vw, 16px);
    font-weight: 300;
    color: var(--gray500);
}


/* 옵션영역 */
#my #myPage .option-container {
    padding-left: clamp(12.8px, 4.264vw + 0.01px, 21.33px);
    padding-right: clamp(12.8px, 4.264vw + 0.01px, 21.33px);
    padding-bottom: clamp(19.2px, 6.4vw, 32px);
}

#my #myPage .option-container .title {
    font-size: clamp(9.6px, 3.2vw, 16px);
    color: var(--black100);
    font-weight: 700;
    margin-bottom: clamp(6.2px, 2.4vw, 11px);
}

#my #myPage .option-container .item-option {
    display: flex;
    flex-direction: row;
    padding: clamp(9.6px, 3.2vw, 16px) 0;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

#my #myPage .option-container .item-option .option-title {
    font-size: clamp(11.6px, 3.2vw + 2px, 18px);
    font-weight: 400;
    color: var(--black100);
}

#my #myPage .option-container .item-option .icon {
    display: flex;
    align-items: center;
}

#my #myPage .option-container .item-option .icon img {
    width: clamp(11.6px, 3.2vw, 18px);
}

#my #myPage .option-container .alarm-toggle {
    width: clamp(36.8px, 12.264vw, 61.33px);
    height: clamp(20.45px, 6.808vw, 34.07px);
    border-radius: 999px;
    background: #dcdcdc;
    position: relative;
    transition: background 0.3s;
    cursor: pointer;
  }
  
  #my #myPage .option-container .alarm-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 3px;
    width: clamp(15.8px, 5.6vw + 0px, 27px);
    height: clamp(15.8px, 5.6vw + 0px, 27px);
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: left 0.3s ease;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
  }
  
  #my #myPage .option-container .alarm-toggle.active {
    background: #f36f6f;
  }
  
  #my #myPage .option-container .alarm-toggle.active::before {
    left: calc(100% - clamp(15.8px, 5.6vw + 0px, 27px) - 3px);
  }

  #my #myPage .button-wrapper  {
    display: flex;
    /* position: absolute; */
    /* bottom: 0px; */
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    gap: 20px;
    padding-left: clamp(12.8px, 4.264vw + 0.01px, 21.33px);
    padding-right: clamp(12.8px, 4.264vw + 0.01px, 21.33px);
    margin-bottom: clamp(70px, 11.2vw + 65px, 120px);
  }

  #my #myPage .button-wrapper .user-button-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto !important;
  }


  #my #myPage .button-wrapper .user-button-container .logout-button {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: clamp(12.8px, 4.27vw, 21.33px);
    font-weight: 500;
    padding: clamp(14.4px, 4.8vw, 24px) 0;
    border-radius: clamp(6.4px, 1.0667vw + 2.2px, 10.67px);
    color: var(--white300);
    background-color: var(--red500);
    cursor: pointer;
  }

  #my #myPage .button-wrapper .text-container {
    display: flex;
    flex-direction: row;
    font-size: clamp(11.6px, 3.2vw + 2px, 18px);
    font-weight: 300;
    color: var(--gray500);
  }

  #my #myPage .button-wrapper .text-container .delete-button {
    cursor: pointer;
    text-decoration: underline;
  }

  