/* ========================================
   系統變數
   ======================================== */
:root {
  --primary-color: #024653;
  --secondary-color: #131314;
  --border-01: #D1D5DB;
  --border-02: #9CA3AF;
  --text-gray: #8A8A97;
  --text-dark: #111827;
  --font-heading: 'Taipei Sans TC Beta', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-weight-bold: 700;
  --font-weight-regular: 400;
  --max-content-width: 1200px;
}

/* ========================================
   版面容器
   ======================================== */

body {
  background: linear-gradient(180deg, #DCFCEA 0%, #EAFFFC 100%);
  color: var(--text-dark);
}

.main-top {
  background-color: #FFF;
}

.main-div {
  background-image: url("../images/bg-color-block.png");
  background-repeat: no-repeat;
}
.main-top .navbar,
.main-div .main,
.main-bottom .bottom {
  max-width: var(--max-content-width);
  width: 100%;;
}

.main-top .navbar {
  padding-left: 0px;
  padding-right: 0px;
}

.main-div {
  padding-top: 80px;
  padding-bottom: 80px;
}

.main-bottom .bottom {
  padding-top: 30px;
  padding-bottom: 30px;
  border-top-width: 1px;
  border-top: 1px solid var(--border-02);
}

/* 響應式標題大小 */
@media (max-width: 991.98px) {
  .main-top .navbar {
    padding: 8px 16px;
  }

  .main-div {
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ========================================
   頂部導覽列
   ======================================== */
.main-top .navbar {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-top .navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Logo 圖片樣式 */
.logo-top {
  height: auto;
  vertical-align: middle;
}

/* ========================================
   網站標題
   ======================================== */
.site-title {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 2px;
  color: var(--primary-color);
  white-space: nowrap;
}

/* 響應式標題大小 */
@media (max-width: 991.98px) {
  .site-title {
    font-size: 20px;
    letter-spacing: 1.5px;
  }
}

/* ========================================
   返回官網連結
   ======================================== */
.back-to-official {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-regular);
  font-size: 20px;
  line-height: 1;
  letter-spacing: 2px;
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
  margin-left: auto;
  display: flex;
  align-items: center;
}

.back-to-official:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* 響應式返回連結 */
@media (max-width: 991.98px) {
  .back-to-official {
    font-size: 16px;
    letter-spacing: 1.5px;
  }
}

/* ========================================
   連結組
   ======================================== */
.links {
  gap: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.links a {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: 14px;
  line-height: 24.5px;
  text-align: right;
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* 連結分隔符號 */
.link-separator {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: 14px;
  line-height: 24.5px;
  color: var(--text-dark);
  user-select: none;
}

/* ========================================
   底部連結區
   ======================================== */

/* 版權資訊 */
.main-bottom .copyright {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: 14px;
  line-height: 24.5px;
  color: var(--text-dark);
}

/* ========================================
   資訊盒子
   ======================================== */

.info-box {
  border-left: 4px solid;
  border-image: linear-gradient(
    180deg,
    #18AE5E 0%,
    #FBFF00 86.06%,
    #FFD000 100%
  ) 1;
  padding-left: 45px;

  .title {
    font-family: Noto Serif TC;
    font-weight: 900;
    font-size: 36px;
    line-height: 42px;
    color: var(--primary-color);
  }

  .info-text {
    font-family: Noto Sans TC;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-dark);
  }
}

/* 響應式資訊盒子 */
@media (max-width: 991.98px) {
  .info-box {
    padding-left: 16px; 
    margin-top: 60px;
    position: relative;
    border-left: 2px solid;

    .title {
      font-size: 28px;
      line-height: 36px;
      position: absolute;
      left: 0px;
      top: -60px;
    }

    .info-text {
      font-size: 16px;
      line-height: 28.8px;
    }
  }
}

/* ========================================
   表單盒子
   ======================================== */

.form-box {
  width: 640px;
  opacity: 1;
  border-radius: 30px;
  border-width: 1px;
  padding: 60px 80px;

  border: 1px solid #FFFFFF;
  box-shadow: 0px 12px 15px -4px #121A2B1A;

  background-color: #FFF;

  .links a, 
  .link-separator {
    color: #6B7280;
  }

  .title {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    font-size: 28px;
    line-height: 1;
    color: var(--text-dark);
  }

  .media {
    gap: 8px;

    .media-body {
      font-weight: 500;
    }
    
    .material-symbols-outlined {
      color: #EA580C;
      font-size: 24px;
    }
  }

  input.form-control {
    padding: 8px 16px;
    border: 1px solid var(--border-01);
    border-radius: 4px;
    line-height: 24.5px;
    color: var(--text-dark);
    height: auto;
  }

  input.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
  }

  .input-group {
    position: relative;

    .input-group-append {
      position: absolute;
      right: 0;
      z-index: 10;
      color: var(--text-gray);
    }
  }

  .auth-image-div {
    display: flex !important;
    -ms-flex-align: center!important;
    align-items: center !important;
    gap: 16px;

    a {
      color: #6B7280 !important;
    }
  }

  .form-btn {
    padding: 12px 18px;
    width: 100%;
    color: var(--primary-color);
    background-color: #FFF;
    border: 1px solid var(--border-01);
    border-radius: 4px;
  }

  .form-btn:hover {
    opacity: 0.8;
  }
  
  .btn-submit {
    background-color: #18AE5E;
    color: #FFF;
  }
}

/* 響應式表單盒子 */
@media (max-width: 991.98px) {
  .form-box {
    width: 100%;
    padding: 40px 20px;
    border-radius: 10px;
    font-size: 14px;

    .title {
      font-size: 24px;
      line-height: 32px;
    }

    .form-btn {
      font-size: 14px;
    }
  }
}
 
/* =======================================
   分隔線標題
   ======================================== */
.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #6b7280;
  margin: 1rem 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border-01);
}

.divider span {
  padding: 0 12px;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .divider {
    margin: 0rem 0;
  }
}