/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[7].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[13].oneOf[7].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[13].oneOf[7].use[5]!./src/components/Navbar.module.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
/* ===== Sixma Navbar — minimalist, brand-aligned ===== */
.Navbar_navbar__x0iE6 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  background: rgba(5, 8, 16, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (max-width: 640px) {
  .Navbar_navbar__x0iE6 {
    height: 56px;
  }
}

.Navbar_navbarScrolled__nDLuj {
  background: rgba(5, 8, 16, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.Navbar_navbarContainer__Cz5Jf {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
}
@media (max-width: 640px) {
  .Navbar_navbarContainer__Cz5Jf {
    padding: 0 1rem;
  }
}

.Navbar_navbarContent__LkCjB {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

/* ─── Logo ─── */
.Navbar_navbarLogo__eTBJ_ {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.Navbar_logoIcon__yVeOz {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .Navbar_logoIcon__yVeOz {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }
}

.Navbar_logoIconText__A_p1N {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  font-family: ui-sans-serif, system-ui, sans-serif;
}
@media (max-width: 640px) {
  .Navbar_logoIconText__A_p1N {
    font-size: 0.85rem;
  }
}

.Navbar_logoTextContainer__PcTje {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.Navbar_logoTitle___z1e_ {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.15em;
}
@media (max-width: 640px) {
  .Navbar_logoTitle___z1e_ {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
  }
}

.Navbar_logoSubtitle__fpIHA {
  font-size: 0.6rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}
@media (max-width: 640px) {
  .Navbar_logoSubtitle__fpIHA {
    display: none;
  }
}

/* ─── Desktop menu ─── */
.Navbar_desktopMenu__0dumr {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .Navbar_desktopMenu__0dumr {
    display: flex;
  }
}

.Navbar_navLinks__DR77m {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.Navbar_menuLink__WRDOQ {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s ease;
}
.Navbar_menuLink__WRDOQ::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.Navbar_menuLink__WRDOQ:hover {
  color: rgba(255, 255, 255, 0.95);
}
.Navbar_menuLink__WRDOQ:hover::after {
  width: 100%;
}

.Navbar_menuLinkActive__5y47s {
  color: rgba(255, 255, 255, 0.95);
}
.Navbar_menuLinkActive__5y47s::after {
  width: 100%;
  background: #6f42c1;
}

.Navbar_divider__R3OQx {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
}

/* ─── Auth buttons (desktop) ─── */
.Navbar_authButtons__YRs_P {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.Navbar_loginButton__KdlDf {
  padding: 0.5rem 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.Navbar_loginButton__KdlDf:hover {
  color: rgb(255, 255, 255);
}

.Navbar_btnPrimary__XRIim {
  padding: 0.55rem 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #050810;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: inline-block;
  white-space: nowrap;
}
.Navbar_btnPrimary__XRIim:hover {
  background: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.15);
}

/* ─── User dropdown ─── */
.Navbar_dropdownContainer__MisQB {
  position: relative;
}

.Navbar_userButton__YK1q7 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.Navbar_userButton__YK1q7:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.Navbar_avatar__4mgU5 {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4059e7, #6f42c1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.Navbar_avatarInitial__wBJk4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
}

.Navbar_username__v_hJo {
  font-size: 0.82rem;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.Navbar_dropdownArrow__9EA1_ {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.Navbar_userDropdown__GkJso {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 180px;
  background: rgba(10, 14, 26, 0.98);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transform-origin: top right;
}

.Navbar_dropdownMenu__r5Nm3 {
  display: flex;
  flex-direction: column;
  padding: 0.35rem;
}

.Navbar_dropdownItem__2xfB_ {
  padding: 0.6rem 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 6px;
  transition: all 0.15s ease;
  cursor: pointer;
}
.Navbar_dropdownItem__2xfB_:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.Navbar_dropdownDivider__0Sk7Q {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0.35rem 0;
}

.Navbar_dropdownItemDanger__3z2Xq {
  padding: 0.6rem 0.85rem;
  background: none;
  border: none;
  color: rgba(220, 53, 69, 0.85);
  font-family: inherit;
  font-size: 0.85rem;
  text-align: left;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.Navbar_dropdownItemDanger__3z2Xq:hover {
  background: rgba(220, 53, 69, 0.1);
  color: rgb(220, 53, 69);
}

/* ─── Mobile button ─── */
.Navbar_mobileMenu__b1RGt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 1024px) {
  .Navbar_mobileMenu__b1RGt {
    display: none;
  }
}

.Navbar_mobileMenuButton___FPFk {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
}
.Navbar_mobileMenuButton___FPFk:hover, .Navbar_mobileMenuButton___FPFk:active {
  background: rgba(255, 255, 255, 0.08);
}

.Navbar_menuIcon__5aXdb {
  width: 20px;
  height: 20px;
}

/* ─── Mobile panel ─── */
.Navbar_mobilePanel__m1_j0 {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(5, 8, 16, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.Navbar_mobilePanelContent__S6h76 {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1rem 1.25rem;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.Navbar_mobileNavLink__EnuBG {
  padding: 0.95rem 0.25rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.Navbar_mobileNavLink__EnuBG:active {
  color: white;
  padding-left: 0.6rem;
}
.Navbar_mobileNavLink__EnuBG::after {
  content: "→";
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.Navbar_mobileNavLinkActive__pid_b {
  color: white;
}
.Navbar_mobileNavLinkActive__pid_b::after {
  color: rgba(138, 118, 229, 0.9);
  transform: translateX(4px);
}

.Navbar_mobileAuthSection__iTjYx {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 0.75rem;
}

.Navbar_mobileAuthButtons__IOcjK {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.Navbar_mobileAuthButtons__IOcjK > * {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
}

.Navbar_mobileLoginButton__vNmG8 {
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.Navbar_mobileLoginButton__vNmG8:active {
  background: rgba(255, 255, 255, 0.05);
}

.Navbar_mobileUserMenu__MQi7g {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.Navbar_mobileMenuItem__YRMwa {
  padding: 0.85rem 0.25rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.Navbar_mobileMenuItem__YRMwa:active {
  color: white;
}

.Navbar_mobileMenuItemDanger__sJ4Fq {
  padding: 0.85rem 0.25rem;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(220, 53, 69, 0.85);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[7].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[13].oneOf[7].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[13].oneOf[7].use[5]!./src/components/Goals.module.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* Styles for Goals Component */
.Goals_pageContainer__IhpnV {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Noto Sans Thai", sans-serif;
}

.Goals_header__O7ORl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.Goals_title__FpmSs {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  font-family: "Noto Sans Thai", sans-serif;
  position: relative;
  display: inline-block;
}

.Goals_title__FpmSs::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #4059e7, #6f42c1);
}

.Goals_addButton__8Y55F {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #28a745;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Noto Sans Thai", sans-serif;
}

.Goals_addButton__8Y55F:hover {
  background: #218838;
  transform: translateY(-2px);
}

.Goals_formContainer__WZ9h6 {
  background-color: #111b31;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border: 1px solid #2a3753;
  font-family: "Noto Sans Thai", sans-serif;
}

.Goals_formTitle__ff1zm {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
  font-family: "Noto Sans Thai", sans-serif;
}

.Goals_formGrid__CLiFO {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .Goals_formGrid__CLiFO {
    grid-template-columns: 1fr 1fr;
  }
}
.Goals_formGroup__S4HPN {
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .Goals_formGroupColSpan2__NFfQA {
    grid-column: span 2/span 2;
  }
}
.Goals_label__tBpwb {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #ffffff;
  font-family: "Noto Sans Thai", sans-serif;
}

.Goals_input__vcOeH,
.Goals_select__GGMRb,
.Goals_textarea__E1P0P {
  width: 100%;
  padding: 0.75rem;
  background-color: #0e1529;
  border: 1px solid #2a3753;
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  transition: border-color 0.3s;
  font-family: "Noto Sans Thai", sans-serif;
}

.Goals_input__vcOeH:focus,
.Goals_select__GGMRb:focus,
.Goals_textarea__E1P0P:focus {
  border-color: #4059e7;
  outline: none;
}

.Goals_textarea__E1P0P {
  min-height: 100px;
  resize: vertical;
}

.Goals_select__GGMRb[multiple] {
  height: 8rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.Goals_formActions__7avP6 {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.Goals_cancelButton__1T0us {
  background-color: #57606a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: "Noto Sans Thai", sans-serif;
}

.Goals_cancelButton__1T0us:hover {
  background-color: #646e7a;
}

.Goals_saveButton__eTkJv {
  background-color: #4059e7;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: "Noto Sans Thai", sans-serif;
}

.Goals_saveButton__eTkJv:hover {
  background-color: #6f42c1;
}

.Goals_loadingText__MXiTA {
  text-align: center;
  padding: 2rem;
  color: #d0d7de;
  font-family: "Noto Sans Thai", sans-serif;
}

.Goals_noGoalsText__aBYVk {
  text-align: center;
  padding: 2rem;
  color: #d0d7de;
  font-family: "Noto Sans Thai", sans-serif;
}

.Goals_errorBox__ghaCo {
  color: #dc3545;
  padding: 1rem;
  border: 1px solid rgba(220, 53, 69, 0.3);
  background-color: rgba(220, 53, 69, 0.1);
  border-radius: 8px;
  font-family: "Noto Sans Thai", sans-serif;
  margin-bottom: 1rem;
}

.Goals_goalGrid__l6tbf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.Goals_goalCard__JQOSx {
  background: #111b31;
  border: 1px solid #2a3753;
  border-radius: 12px;
  padding: 1.25rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Goals_goalCard__JQOSx:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.Goals_deleteButton__QwUPO {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  color: #d0d7de;
  background-color: #0e1529;
  border: none;
  border-radius: 50%;
  padding: 0.25rem;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.Goals_deleteButton__QwUPO svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.Goals_deleteButton__QwUPO:hover {
  color: #dc3545;
  background-color: rgba(220, 53, 69, 0.1);
}

.Goals_goalTitle__zfRM_ {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-family: "Noto Sans Thai", sans-serif;
}

.Goals_goalDescription__Chik6 {
  font-size: 0.875rem;
  color: #d0d7de;
  margin-bottom: 0.75rem;
  font-family: "Noto Sans Thai", sans-serif;
}

.Goals_tagsContainer__1IxNU {
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.Goals_typeTag__8D1ip {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.125rem 0.625rem;
  border-radius: 8px;
  background-color: #4059e7;
  color: white;
  line-height: 1.5;
  font-family: "Noto Sans Thai", sans-serif;
}

.Goals_dateTag__27wEy {
  font-size: 0.75rem;
  color: #d0d7de;
  line-height: 1.5;
  padding: 0.125rem 0;
  font-family: "Noto Sans Thai", sans-serif;
}

.Goals_progressContainer__aEZZc {
  margin-bottom: 0.75rem;
}

.Goals_progressLabel__SNvLi {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: #f0f2f5;
  font-family: "Noto Sans Thai", sans-serif;
}

.Goals_progressBarBackground__Mpesd {
  width: 100%;
  background-color: #0e1529;
  border-radius: 9999px;
  height: 0.625rem;
  overflow: hidden;
}

.Goals_progressBarInner__ZNlE4 {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.Goals_progressLow__dTwJS {
  background-color: #dc3545;
}

.Goals_progressLowMid__MNqtD {
  background-color: #fd7e14;
}

.Goals_progressMedium__Wdv4m {
  background-color: #ffc107;
}

.Goals_progressMidHigh__C3vNs {
  background-color: #90ee90;
}

.Goals_progressHigh__4pjMT {
  background-color: #28a745;
}

.Goals_linkedHabitsContainer__jZT0X {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.Goals_linkedHabitsTitle__IwJ_P {
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--gray-light);
}

.Goals_linkedHabitsList__s36OT {
  list-style: disc;
  list-style-position: inside;
  color: var(--gray-medium);
  padding-left: 0;
  margin: 0;
}
.Goals_linkedHabitsList__s36OT li {
  margin-bottom: 0.1rem;
}

.Goals_createdAt__iKoUL {
  font-size: 0.75rem;
  color: var(--gray-dark);
}

@media (max-width: 768px) {
  .Goals_pageContainer__IhpnV {
    padding: 1.5rem;
  }
  .Goals_header__O7ORl {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .Goals_formActions__7avP6 {
    flex-direction: column;
  }
  .Goals_cancelButton__1T0us,
  .Goals_saveButton__eTkJv {
    width: 100%;
  }
}
/* Habit linking styles */
.Goals_habitLinkHeader__kKaWj {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.Goals_infoButton__i86wf {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  margin-left: 8px;
}
.Goals_infoButton__i86wf:hover {
  background-color: var(--secondary-blue);
}

.Goals_infoBox__LFDem {
  background-color: rgba(64, 89, 231, 0.1);
  border-left: 3px solid var(--primary-blue);
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--gray-light);
}

.Goals_habitSearchContainer__9vcIL {
  margin-bottom: 0.5rem;
}

.Goals_habitSearchInput__FFfj9 {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--border-radius-md);
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.Goals_habitSearchInput__FFfj9:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(64, 89, 231, 0.2);
  outline: none;
}

.Goals_selectedHabitsPreview__fXY1t {
  margin-top: 1rem;
  padding: 0.75rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
}

.Goals_selectedHabitsTitle__kKMa4 {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--gray-light);
}

.Goals_selectedHabitsChips__M1A6e {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.Goals_habitChip__UIW_y {
  background-color: rgba(64, 89, 231, 0.2);
  color: var(--foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
}

/* Enhanced linked habits in goal card */
.Goals_linkedHabitsSection__wYL3m {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--card-border);
}

.Goals_linkedHabitsSectionHeader__2bFl5 {
  margin-bottom: 0.75rem;
}

.Goals_linkedHabitsTitle__IwJ_P {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-light);
  margin-bottom: 0.5rem;
}

.Goals_linkedHabitsList__s36OT {
  list-style: none;
  padding: 0;
  margin: 0;
}

.Goals_linkedHabitItem__7d9Hj {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  margin-bottom: 0.5rem;
}
.Goals_linkedHabitItem__7d9Hj:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.Goals_habitIcon__1Q6yo {
  margin-right: 0.5rem;
  font-size: 1rem;
}

.Goals_habitName__diaPh {
  flex: 1 1;
  font-size: 0.875rem;
}

.Goals_viewHabitLink__xdRSh {
  font-size: 0.75rem;
  color: var(--primary-blue);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-sm);
  background-color: rgba(64, 89, 231, 0.1);
  white-space: nowrap;
}
.Goals_viewHabitLink__xdRSh:hover {
  background-color: rgba(64, 89, 231, 0.2);
  color: var(--light-blue);
}

.Goals_emptyHabitsText__5nzDr {
  font-size: 0.875rem;
  color: var(--gray-medium);
  font-style: italic;
  padding: 0.5rem 0;
}
