@import url(https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap);


/* ----------------------------------main.css---------------------------------- */
:root {
  /* height setting */
  --header-height: 64px;
  --footer-height: 50px;

  /* colors */
  --clr-transparent: rgba(0, 0, 0, 0);
  --clr-black: #000000; 
  --Comfort-Black: #222;
  --clr-white: #ffffff;

  /* Neutral Color */
  --clr-neutral-50: #fcfcfc;
  --clr-neutral-100: #f9f9f9;
  --clr-neutral-125: #f5f5f5;
  --clr-neutral-150: #e6e6e6;
  --clr-neutral-175: #f2f2f2;
  --clr-neutral-200: #dddddd;
  --clr-neutral-250: #e6e7e8;
  --clr-neutral-300: #d9d9d9;
  --clr-neutral-350: #d3d3d3;
  --clr-neutral-400: #bcbec0;
  --clr-neutral-450: #a7a9ac;

  /* Gray Color */
  --clr-gray-200: #d1d3d4;
  --clr-gray-300: #9d9fa2;
  --clr-gray-400: #939598;
  --clr-gray-450: #58595b;
  --clr-gray-500: #4d4d4f;
  --clr-gray-550: #4d4d4d;
  --clr-gray-600: #373940;
  --clr-gray-650: #414042;
  --clr-gray-900: #222222;
  --Hint-Grey: #9D9FA2;
  --Primary-Color-Grey-K10: #E6E7E8;

  /* Green Color */
  --clr-green-50: #e8f9f0;
  --clr-green-200: #c6e3bd;
  --clr-green-350: #73c167;
  --clr-green-400: #00d281;
  --clr-green-700: #316431;

  /* Red Color */
  --clr-red-50: #fde8e9;
  --clr-red-200: #f5c4c6;
  --clr-red-600: #ff3c23;
  --clr-red-700: #d71920;
  --clr-red-750: #cc0000;
  --clr-red-800: #aa0000;
  --Primary-Color-Red-Guardian: #6F0000;
  /* Yellow Color */
  --clr-yellow-100: #fdf0c3;
  --clr-yellow-500: #ffb42b;

  /* Brown Color */
  --clr-brown-100: #fed7b6;
  --clr-brown-600: #7e5129;

  /* Blue Color */
  --clr-sky-50: #ebfafd;
  --clr-sky-500: #56a0d3;
  --clr-sky-550: #33abd6;
  --clr-sky-600: #0096cc;
  --clr-sky-700: #0e73ac;
  --clr-sky-800: #065785;
  --clr-sky-950: rgba(0, 150, 204, 0.1);

  /* font-sizes */
  --fs-750: 4rem; /* 64px */
  --fs-700: 3.5rem; /* 56px */
  --fs-650: 2.5rem; /* 40px */
  --fs-625: 2.25rem; /* 36px */
  --fs-600: 2rem; /* 32px */
  --fs-500: 1.75rem; /* 28px */
  --fs-400: 1.5rem; /* 24px */
  --fs-350: 1.25rem; /* 20px */
  --fs-325: 1.125rem; /* 18px */
  --fs-300: 1rem; /* 16px */
  --fs-200: 0.875rem; /* 14px */
  --fs-100: 0.75rem; /* 12px */

  /* font-weight */
  --fw-bold: 700;

  /* font-families */
  --ff-inter-light: 'Interstate Light', sans-serif;
  --ff-inter: 'Interstate', sans-serif;
  --ff-inter-bold: 'Interstate Bold', sans-serif;
  --ff-open-sans: 'Open Sans', sans-serif;
  --ff-open-sans-500: 'Open Sans Medium', sans-serif;
  --ff-open-sans-600: 'Open Sans Semi Bold', sans-serif;
  --ff-open-sans-700: 'Open Sans Bold', sans-serif;

  /* box shadow */
  --box-shadow-1: 0px 4px 15px rgba(196, 196, 196, 0.35);
  --box-shadow-2: 0px 8px 28px rgb(0 0 0 / 28%);
  --input-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
    rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  --input-shadow-active: rgb(255, 255, 255) 0px 0px 0px 0px, rgb(161, 161, 170) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;

  /* Transitions property */
  --transition-display: opacity, visibility, background-color;
  --transition-colors: color, background-color, border-color, text-decoration-color, fill, stroke;
  --transition-shadows: box-shadow;
  --transition-transform: translate, rotate, scale;

  /* Transitions duration */
  --duration-100: 100ms;
  --duration-150: 150ms;
  --duration-200: 200ms;
  --duration-300: 300ms;
  --duration-400: 400ms;

  /* Transitions timing function */
  --ease-linear: linear;
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* border radius */
  --rounded: 0.25rem;
  --rounded-6: 0.375rem;
  --rounded-8: 0.5rem;
  --rounded-20: 1.25rem;
  --rounded-full: 9999px;

  --container-size-90: 90rem;
  /**added by zq on 20240620*/
  --container-size-auto: auto;
  /**added by zq on 20240620*/
}

/* Text */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Display */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-1 {
  flex: 1 1 0%;
}

.shrink-0 {
  flex-shrink: 0;
}

.shrink-1 {
  flex-shrink: 1;
}

.grow-0 {
  flex-grow: 0;
}

.grow-1 {
  flex-grow: 1;
}

.grid {
  display: grid;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: start;
}

.items-center {
  align-items: center;
}

.items-stretch {
  align-items: stretch;
}

.self-start {
  align-self: flex-start;
}

.self-end {
  align-self: flex-end;
}

.self-center {
  align-self: center;
}

.self-stretch {
  align-self: stretch;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.place-items-center {
  place-items: center;
}

.grid-repeat-auto {
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-7 {
  gap: 1.75rem;
}

.gap-8 {
  gap: 2rem;
}

.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.py-1 {
  padding: 0.25rem 0;
}

.py-2 {
  padding: 0.5rem 0;
}

.py-3 {
  padding: 0.75rem 0;
}

.py-4 {
  padding: 1rem 0;
}

.py-5 {
  padding: 1.25rem 0;
}

.py-6 {
  padding: 1.5rem 0;
}

.py-8 {
  padding: 2rem 0;
}

.px-1 {
  padding: 0 0.25rem;
}

.px-2 {
  padding: 0 0.5rem;
}

.px-3 {
  padding: 0 0.75rem;
}

.px-4 {
  padding: 0 1rem;
}

.px-5 {
  padding: 0 1.25rem;
}

.px-6 {
  padding: 0 1.5rem;
}

.px-8 {
  padding: 0 2rem;
}

.m-1 {
  margin: 0.25rem;
}

.m-2 {
  margin: 0.5rem;
}

.m-3 {
  margin: 0.75rem;
}

.m-4 {
  margin: 1rem;
}

.m-5 {
  margin: 1.25rem;
}

.m-6 {
  margin: 1.5rem;
}

.m-8 {
  margin: 2rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

/* Position */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}


.overflow-hidden {
  overflow: hidden !important;
}

.overflow-auto {
  overflow: auto;
}


/* background colors */
.bg-transparent {
  background-color: var(--clr-transparent);
}
.bg-black {
  background-color: var(--clr-black);
}
.bg-white {
  background-color: var(--clr-white);
}

.bg-neutral-100 {
  background-color: var(--clr-neutral-100);
}
.bg-neutral-175 {
  background-color: var(--clr-neutral-175);
}
.bg-neutral-200 {
  background-color: var(--clr-neutral-200);
}
.bg-neutral-250 {
  background-color: var(--clr-neutral-250);
}
.bg-neutral-300 {
  background-color: var(--clr-neutral-300);
}
.bg-neutral-400 {
  background-color: var(--clr-neutral-400);
}

.bg-gray-300 {
  background-color: var(--clr-gray-300);
}
.bg-gray-400 {
  background-color: var(--clr-gray-400);
}
.bg-gray-450 {
  background-color: var(--clr-gray-450);
}
.bg-gray-650 {
  background-color: var(--clr-gray-650);
}
.bg-gray-900 {
  background-color: var(--clr-gray-900);
}

.bg-green-350 {
  background-color: var(--clr-green-350);
}
.bg-green-400 {
  background-color: var(--clr-green-400);
}

.bg-yellow-100 {
  background-color: var(--clr-yellow-100);
}
.bg-yellow-500 {
  background-color: var(--clr-yellow-500);
}

.bg-sky-50 {
  background-color: var(--clr-sky-50);
}
.bg-sky-600 {
  background-color: var(--clr-sky-600);
}

.bg-red-50 {
  background-color: var(--clr-red-50);
}
.bg-red-600 {
  background-color: var(--clr-red-600);
}
.bg-red-700 {
  background-color: var(--clr-red-700);
}
.bg-red-750 {
  background-color: var(--clr-red-750);
}

/* Text colors */
.text-black {
  color: var(--clr-black);
}
.text-gray-900 {
  color: var(--clr-gray-900);
}
.text-gray-600 {
  color: var(--clr-gray-600);
}
.text-gray-500 {
  color: var(--clr-gray-500);
}
.text-gray-400 {
  color: var(--clr-gray-400);
}
.text-gray-450 {
  color: var(--clr-gray-450);
}
.text-gray-300 {
  color: var(--clr-gray-300);
}
.text-gray-650 {
  color: var(--clr-gray-650);
}
.text-neutral-100 {
  color: var(--clr-neutral-100);
}
.text-neutral-150 {
  color: var(--clr-neutral-150);
}
.text-neutral-175 {
  color: var(--clr-neutral-175);
}
.text-neutral-200 {
  color: var(--clr-neutral-200);
}
.text-neutral-250 {
  color: var(--clr-neutral-250);
}
.text-white {
  color: var(--clr-white);
}
.text-sky-600 {
  color: var(--clr-sky-600);
}
.text-red-600 {
  color: var(--clr-red-600);
}
.text-red-700 {
  color: var(--clr-red-700);
}
.text-red-750 {
  color: var(--clr-red-750);
}

.border-neutral-250 {
  border: var(--border-w, 1px) solid var(--clr-neutral-250);
}

.border-gray {
  border: var(--border-w, 1px) solid var(--clr-gray-300);
}

.border-red-700 {
  border: var(--border-w, 1px) solid var(--clr-red-700);
}

/* Border radius */
.rounded {
  border-radius: var(--rounded);
}
.rounded-6 {
  border-radius: var(--rounded-6);
}
.rounded-8 {
  border-radius: var(--rounded-8);
}
.rounded-full {
  border-radius: var(--rounded-full);
}

/* Transition */
.transition-display {
  transition-property: var(--transition-display);
  transition-duration: var(--duration-150);
  transition-timing-function: var(--ease-in-out);
}

.transition-colors {
  transition-property: var(--transition-colors);
  transition-duration: var(--duration-100);
  transition-timing-function: var(--ease-in-out);
}

.transition-shadows {
  transition-property: var(--transition-shadows);
  transition-duration: var(--duration-150);
  transition-timing-function: var(--ease-in-out);
}

/* typography */
.ff-inter-light {
  font-family: var(--ff-inter-light);
}
.ff-inter {
  font-family: var(--ff-inter);
}
.ff-inter-bold {
  font-family: var(--ff-inter-bold);
  font-weight: 700;
}
.ff-open-sans {
  font-family: var(--ff-open-sans);
}
.ff-open-sans-500 {
  font-family: var(--ff-open-sans-500);
  font-weight: 500;
}
.ff-open-sans-600 {
  font-family: var(--ff-open-sans-600);
  font-weight: 600;
}
.ff-open-sans-700 {
  font-family: var(--ff-open-sans-700);
  font-weight: 700;
}

.letter-spacing-1 {
  letter-spacing: 4.75px;
}
.letter-spacing-2 {
  letter-spacing: 2.7px;
}
.letter-spacing-3 {
  letter-spacing: 2.35px;
}

.fs-750 {
  font-size: var(--fs-750);
}
.fs-700 {
  font-size: var(--fs-700);
}
.fs-650 {
  font-size: var(--fs-650);
}
.fs-625 {
  font-size: var(--fs-625);
}
.fs-600 {
  font-size: var(--fs-600);
}
.fs-500 {
  font-size: var(--fs-500);
}
.fs-400 {
  font-size: var(--fs-400);
}
.fs-350 {
  font-size: var(--fs-350);
}
.fs-325 {
  font-size: var(--fs-325);
}
.fs-300 {
  font-size: var(--fs-300);
}
.fs-200 {
  font-size: var(--fs-200);
}
.fs-100 {
  font-size: var(--fs-100);
}

.fw-bold {
  font-weight: 700;
}

.fw-semi-bold {
  font-weight: 600;
}

.fw-medium {
  font-weight: 500;
}

.fw-400 {
  font-weight: 400;
}

.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.tracking {
  letter-spacing: -0.003em;
}

.tracking-medium {
  letter-spacing: -0.003em;
}
/* --------------------------------------------------------------------------------- */

p{
  margin: 0px !important;
}

.subtitle{
  font-family: var(--ff-open-sans);
  color: var(--clr-white, #FFF);

  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 125%; /* 22.5px */
}

.Subtitle2{
  font-family: var(--ff-inter);
  color: var(--clr-black, #000);

  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px; /* 116.667% */
}

.bold{
  font-weight: 700 !important; 
}
.body1{
  color: var(--Comfort-Black, #222);

  font-family: var(--ff-open-sans);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 21.6px */
}
.body2{
  font-family: var(--ff-open-sans);
  color: var(--clr-black, #000);

  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: -0.16px;
}
.body3{
  font-family: var(--ff-open-sans);
  color: var(--Primary-Color-Black, #000);
  text-align: center;

  /* Body3/14px- Regular */
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 132%; /* 18.48px */
}

.caption{
  font-family: var(--ff-inter);
  color: var(--Primary-Color-Black, #000);

  /* Caption */
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px; /* 114.286% */
}

.gap-4{
  gap: 1rem;
}

.items-start {
  align-items: start;
}

.items-center {
  align-items: center;
}

.items-stretch {
  align-items: stretch;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.fixed{
  position: fixed;
}

.none {
  display: none;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.wrapper-body{
  background: var(--Primary-Color-Grey-K10, #E6E7E8);
}

.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; /* 水平居中 */
  justify-content: center; /* 垂直顶部对齐 */
  width: 100%; /* 确保占满可用宽度 */
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
  overflow: auto;
}

.container {
  position: relative;
  width: 70% !important;
  padding: 40px 0;
  background: var(--Primary-Color-Grey-K10, #E6E7E8);
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.title-container{
  background: var(--Primary-Color-Grey-K10, #E6E7E8);

  &.Subtitle2{
    margin-bottom: 0;
  }
  &.Body2{
    margin-top: 8px;
    margin-bottom: 0;
  }
}

.form-container{
  position: relative;
  background-color: #ffffff;
  padding: 24px 16px;
  margin-top: 16px;
  border-radius: 4px;
  box-shadow: 0px 4px 16px 0px rgba(223, 223, 223, 0.24);
}

label{
  margin-bottom: 0!important;
  padding: 0 !important;
  font-weight: 700 !important; 
}

.hidden {
  display: none !important;
}

.required {
  color: #DE543B;
}
#mainField {
  font-size: 16px;
  padding: 8px;
  border: 1px solid #ccc;
  width: 100%;
  display: inline-block;
  margin-bottom: 10px;
  cursor: pointer;
  box-sizing: border-box; /* 確保 padding 不會影響寬度 */
}

#issuetypeselect {
  display: none !important;
}

.form__group {
  display: flex;
  flex-direction: column;
  max-width: 100%; /* 確保 form-group 不超出容器寬度 */
  margin-bottom: 24px !important;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 8px; /* 添加適當的間距 */
  padding-left: 24px !important;
}

.form-check-input {
  margin-right: 10px; /* 添加間距以避免文本緊貼 radio 按鈕 */
}

.form-check-input:checked {
  background-color: var(--clr-black, #000);
  border-color: var(--clr-black, #000);
}

.highlight {
  color: var(--primary-color-red-80, #DE543B);
  font-weight: 700;
}

/* 設置 navbar 背景顏色為黑色 */
.custom-navbar {
  height: var(--header-height);
  /* background-color: #707070 !important; */
  display: flex;
  align-items: center; /* 確保 navbar 內部內容垂直居中 */
  justify-content: center; /* 確保 header-container 水平居中 */
  top:0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 垂直居中 */
  width: 100%; /* 確保占滿可用寬度 */
}

.navbar-header {
  display: flex;
  align-items: center; /* 確保內容垂直居中 */
  margin-left: 2rem;
}

.navbar-header a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.logo{
  width: auto;
  margin-right: 10px;
  height: 32px;
}

.sitetitle{
  margin-bottom: 0px !important;
  margin-right: 10px !important;
}

.sandbox{
  margin-bottom: 0px !important;
  color: #C6312C;
}

.navbar-support{
  display: flex;
  align-items: center; /* 確保內容垂直居中 */
  margin-right: 2rem;
}

.navbar-support a {
  color: #fff;
  text-decoration: none;
}

.footer{
  height: var(--footer-height);
  background-color: var(--clr-black, #000);
  color: var(--clr-white, #FFF);
  display: flex;
  align-items: center; /* 確保 navbar 內部內容垂直居中 */
  justify-content: center; /* 確保 header-container 水平居中 */
  width: 100%;
  padding: 16px 0;
}

.footer-container{
  display: flex;
  align-items: center; /* 垂直居中 */
  width: 100%; /* 確保占滿可用寬度 */
}

.row {
  display: flex;
  width: 100% !important; /* 確保 row 占滿寬度 */
  display: flex !important;
  justify-content: center !important; /* 水平居中 */
  align-items: center !important; /* 垂直居中 */
}

.foottext{
  margin-bottom: 0px;
  color: var(--clr-white, #FFF);
}
textarea {
  overflow: hidden; /* 隱藏滾動條 */
  resize: none; /* 禁止用戶手動調整大小 */
}

.button-container {
  margin-top: 24px; /* 可根据需要调整外边距 */
}

.btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.btn-red {
  background-color: var(--clr-white, #FFF) ; /* 按钮背景色 */
  color: var(--Primary-Color-Red-Trend-Red, #D71920) !important;
  border: 1px solid #D71920 !important; /* 按钮边框 */
  border-radius: 4px !important;
  padding: 8px 16px !important;
}

.btn-red:hover {
  background-color: #F5C4C6 ; 
}

.btn-black{
  background-color: white ;
  color: #000; 
  border: 1px solid #000; 
  border-radius: 4px;
  padding: 8px 16px;
  width: 15%;
}

.btn-black:hover{
  background-color: var(--clr-neutral-125);
  color: #000 ; 
  border: 1px solid #D1D3D4 ; 
}

.btn-black:disabled{
  background-color: white;
  color: rgba(16, 16, 16, 0.3);
  cursor: not-allowed;
  border: 1px solid #D1D3D4;
}

.btn-nocolor{
  background-color: transparent; 
  color: var(--clr-gray-300);
  border-radius: 4px;
  padding: 8px 16px;
  width: 15%;
  border: 0;
}

.btn-nocolor:hover{
  background-color: var(--clr-neutral-150); /* 按钮文字颜色 */
}

.checkbox{
  margin-bottom: 8px;
}

.Link{
  display: flex;
  flex-direction: column;
  max-width: 100%; /* 確保 form-group 不超出容器寬度 */
}

.input{
  width: 100%;
  display: flex;
  height: 54px;
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--Primary-Color-Grey-K20, #D1D3D4);
  background: var(--Primary-Color-White, #FFF);
  margin: 8px 0;
}

.file-upload-zone {
  border: 2.5px dashed #D1D3D4;
  padding: 16px;
  cursor: pointer;
  height: 108px;
  margin-top: 8px;

  &:hover {
    border-color: var(--clr-black, #000);
  }

  .text{
    display: flex;
    flex-direction: column;
    margin-top: 4px;
    p{
      margin-bottom: 0 !important;
    }
  }
}

.dragover{
  border-color: var(--clr-black, #000);
}

.file-upload-name {
  width: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-left: 10px;
  font-size: 16px;
}

.file-upload-list, .link-upload-list{
  margin-top: 8px;
  margin-bottom: 0;
  list-style-type: none;
  padding: 0;
}

.file-name {
  flex-grow: 1;
  color: var(--clr-black, #000);
}

.file-size {
  color: var(--Hint-Grey, #9D9FA2);
}

.file-upload-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 8px;
  word-break: break-all;
}

.file-upload-item:hover {
  background-color: #e0e0e0; /* 懸停時的背景色 */
}

.file-upload-item button {
  background-color: transparent;
  color: var(--Hint-Grey, #9D9FA2);
  font-size: 20px;
  border: none;
  cursor: pointer;
  margin-left: 13px;
  padding: 0px;
}

.file-upload-item button:hover {
  color: var(--clr-black, #000);
}

.link-upload-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 8px;
  word-break: break-all;
}

.link-upload-item:hover {
  background-color: #e0e0e0; /* 懸停時的背景色 */
}

.link-upload-item button {
  background-color: transparent;
  color: var(--Hint-Grey, #9D9FA2);
  font-size: 20px;
  border: none;
  cursor: pointer;
  margin-left: 13px;
  padding: 0px;
}

.link-upload-item button:hover {
  color: var(--clr-black, #000);
}

.form__group--select{
  margin: 24px 0;
  position: relative;
  background-color: var(--clr-white, #FFF) !important;
  
  button,
  ul{
    display: block;
    padding: 12px 0.5rem;
    width: 100%;
    margin: 0 auto;
    background: radial-gradient();
    font-size: 1rem;
  }
  button{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-color: #495057;
    background-color: var(--clr-white, #FFF) !important;
    border: 1px solid #ccc;
    margin-top: 8px;

    &::before {
      font-family: "Font Awesome 5 Free";
      content: "\f107";
      vertical-align: middle;
      font-weight: 900;
      position: absolute;
      right: .8rem;
    }

    &:focus-visible {
      outline: none;
    }
  }
  ul {
    color: var(--clr-black, #000);
    border: 1px solid #ccc;
    position: absolute;
    left: 0;
    right: 0;
    top: 4.8rem;
    overflow: visible;
    height: auto;
    list-style-type: none;
    padding: 0;
    margin-top: 15px;
    transform: scale(1,0);
    transform-origin: top left;
    pointer-events: none;
    z-index: 2;
    &.active {
      opacity: 1;
      transform: scale(1,1);
      pointer-events: auto;
    }
    li {
      background-color: var(--clr-white, #FFF);
      padding: .6rem .5rem;
      /* border-top: 1px solid #e6e6e6; */
      cursor: pointer;
      transition: all .3s ease-in;
      position: relative;
      &::before {
        font-family: "Font Awesome 5 Free";
        content: "\f00c";
        vertical-align: middle;
        font-weight: 900;
        position: absolute;
        right: .8rem;
        opacity: 0;
        transition: opacity .300s ease-out;
      }
      &.hover{
        background: #e6e6e6;
      }
      &:hover {
        background: #e6e6e6;
      }
      &.active::before {
        opacity: 1;
      }
    }
  }
}

.form__group select[disabled] {
  background-color: #e9ecef;
  cursor: not-allowed;
}


.form__group--textbox #description{
  border: 1px solid #ccc;
  color: var(--clr-black, #000);
  margin-top: 8px;
  padding: 0.5rem;
}

.form__group--textbox #description::placeholder {
  color: var(--Hint-Grey, #9D9FA2); /* 佔位符文字的顏色 */
}

.form__group--file.compress {
  margin-top: 8px;
  margin-bottom: 12px;
}

.upload-image{
  margin-bottom: 4px;
}

.separator{
  height: 1px;
  border-top-style: solid;
  margin-top: 0;
  margin-bottom: 0; 
  border-top-color: #495057;
}

.error-message ,.error-message-file, .error-message-link{
  color: #DE543B;
}

.loading-overlay {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--clr-white);
  opacity: 0.8;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  display: none;
  visibility: visible !important;
}

.loading-overlay.active {
  display: flex;
}

.loading-overlay .square-shape {
  --size: 60px;
}

.square-shape {
  width: var(--size, 1rem);
  height: var(--size, 1rem);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --------------------------display alert----------------------- */
.alert {
  position: absolute; /* 絕對定位在容器內 */
  top: 20px; /* 與父容器上方的距離 */
  left: 50%; /* 水平置中 */
  transform: translateX(-50%); /* 調整 X 軸置中 */
  border-radius: 4px;
  padding: 24px;
  display: none; /* 默認隱藏 */
  width: 125% !important;
  z-index: 9999;
}

.alert--error {
  background-color: #F5C4C6;
  color: #000000;
  border: 1px solid #D71920;
}

.alert--success {
  background-color: #C6E3BD;
  color: #000000;
  border: 1px solid #316431;
}

.alert__icon--error {
  align-items: start;
  margin-right: 12px;
}

.alert__icon--success {
  align-items: start;
  margin-right: 12px;
}

.alert__content {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.alert__button--error {
  background: var(--clr-red-700);
  color: white;
  border-radius: 4px;
  padding: 8px 16px;
  border: none;
  
  &:hover{
    background-color: #6F0000;
  }
}

.alert__button--success {
  background-color: white !important;
  color: black !important;
  border: 1px solid black !important;
  border-radius: 4px;
  padding: 8px 16px;
  
  &:hover{
    background-color: #D1D3D4 !important; /* 按钮背景色 */
    color: #000 !important; /* 按钮文字颜色 */
    border: 1px solid #79747E !important; /* 按钮边框 */
  }
}
/* -------------------------- ----------------------- */
.form-container.disabled {
  pointer-events: none; /* 禁用點擊事件 */
  opacity: 0.5; /* 使表單顯示灰階 */
}


input[type="checkbox"] {
  display: none;
}
label.checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}

label.checkbox span {
  display: inline-block;
  width: 20px;
  height: 22px;
  margin-right: 10px;
  border: 1px solid #000;
  background: #fff;
  text-align: center;
  line-height: 20px;
  position: relative;
  vertical-align: middle;
}
label.checkbox span::before {
  content: "";
  color: #000;
  font-size: 18px;
  display: none;
}

input[type="checkbox"]:checked + label.checkbox span::before {
  background: #fff;
  color: #000;
  content: "\2713";
  display: block;
}


.tag {
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 5px;
  border-radius: 3px;
  background-color: #B7D0EB;
  display: inline-flex;  /* 使用 inline-flex 來對齊標籤和按鈕 */
  align-items: center;
  word-break: break-all;
}

.tag .close-btn {
    padding: 0;
    margin-left: 5px;
    width: 16px;
    height: 16px;
    background-color: transparent;
    color:  #9D9FA2;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;

    &:hover{
        color: #000;
    }
} 

#url-container {
    margin: 8px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%; /* 確保容器寬度 */
}

#verifyURL {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.5rem;
}


.result-block {
  border-radius: 4px;
  border: 1px solid var(--Table-outline, #DDD);
  background: var(--Light, #F9F9F9);

  padding: 0.5rem;
  gap: 9px;

  margin: 10px 0;
  width: 100%;

  &.separator{
    height: 1px;
    margin-block: 1rem;
    background-color: black;
  }
}

.safety-container > div[role='separator'], .category-container > div[role='separator']{
  height: 1px;
  margin-block: 1rem;
  background-color: black;
}

.info-container {
  display: flex;
  justify-content: space-between;
}

.safety-container, .category-container {
  background-color: white;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 10px;
}

.safety-block1, .category-block1{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.safety-block2, .category-block2{
  width: 100%;
}

.result-block input[type="text"] {
  width: 100%;
  margin-bottom: 10px;
}

.btn-category, .btn-safety{
  width: 20%;
}

dialog{
  position: absolute; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /* display: flex; */
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  border: none;
  border-radius: 8px;
  box-shadow: rgb(0 0 0 / 28%) 0px 8px 28px;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  margin: 0;
  pointer-events: all;
}

dialog::backdrop{
  background-color: rgba(34, 34, 34);
  opacity: 0.6;
}
/* --------------------------------------SecurityForm----------------------------------- */
#SecurityForm{
  /* display: flex; */
  width: 570px;
  height: 300px;
  padding: 24px 16px;
}

#dropdown-securitydialog{
  position: relative;
  width: 100%;
  background-color: var(--clr-white, #FFF) !important;
  border-radius: 8px;
  button#SecurityFormSelect, ul{
    display: block;
    padding: 12px 16px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    background: radial-gradient();
    font-size: 1rem;
  }
  button#SecurityFormSelect{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-color: #495057;
    background-color: var(--clr-white, #FFF) !important;
    border: 1px solid #ccc;
    margin-top: 16px;
    margin-bottom: 8rem;

    &::before {
      font-family: "Font Awesome 5 Free";
      content: "\f107";
      vertical-align: middle;
      font-weight: 900;
      position: absolute;
      right: .8rem;
    }

    &:focus-visible {
      outline: none;
    }
  }
  ul{
    color: var(--clr-black, #000);
    border: 1px solid #ccc;
    position: absolute;
    left: 0;
    right: 0;
    top: 4.8rem;
    overflow: visible;
    height: auto;
    list-style-type: none;
    padding: 0;
    margin-top: 16px;
    transform: scale(1,0);
    transform-origin: top left;
    pointer-events: none;
    z-index: 2;
    &.active {
      opacity: 1;
      transform: scale(1,1);
      pointer-events: auto;
    }
    li {
      background-color: var(--clr-white, #FFF);
      padding: .6rem .5rem;
      /* border-top: 1px solid #e6e6e6; */
      cursor: pointer;
      transition: all .3s ease-in;
      position: relative;
      &::before {
        font-family: "Font Awesome 5 Free";
        content: "\f00c";
        vertical-align: middle;
        font-weight: 900;
        position: absolute;
        right: .8rem;
        opacity: 0;
        transition: opacity .300s ease-out;
      }
      &.hover{
        background: #e6e6e6;
      }
      &:hover {
        background: #e6e6e6;
      }
      &.active::before {
        opacity: 1;
      }
    }
  }
}

.suggested-block2{
  margin-top: 8px;
}
/* --------------------------------------CategoryForm----------------------------------- */
#CategoryForm{
  /* display: none; */
  width: clamp(340px, 70vw, 750px);
  height: 627px;
  padding: 24px 16px;
}

#CategoryFormListbox{
  list-style: none;
  padding: 0;
}

.url-category__modal-content {
  height: clamp(280px, 40vh, 500px);
  margin-bottom: 69.4px;
}

.underline-indicators {
  overflow: auto;
  gap: 0.25rem;
}

.underline-indicators > * {
  flex: 1;
  max-width: fit-content;
  text-align: center;
  padding: 1rem;
  border: 0;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.underline-indicators > *:hover {
  border-bottom: 1px solid var(--clr-gray-300);
}

.underline-indicators > [aria-selected='true'] {
  color: var(--clr-gray-900);
  border-bottom: 1px solid var(--clr-gray-900);
  font-family: var(--ff-inter);
} 

#CategoryForm input[type="radio"] {
  margin-top: .25rem;
  flex-shrink: 0;
}

input[type='radio'] {
  appearance: auto;
  --size: 1rem;
  accent-color: var(--clr-gray-900);
}


#verify-button-container {
  position: relative; /* 使內部元素相對定位 */
}