:root {
  --bg-yellow: #fdd000;
  --bg-blue: rgb(34, 162, 233);
  --bg-red: rgb(228, 30, 132);
}

body {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
}

/* header */

.header-left {
  border: 3px solid var(--bg-yellow);
  color: #333;
  border-radius: 80px;

}

.ptchlogo {
  width: 500px;
}

.ytitle {
  font-size: 1.5rem;
}

.heatitle {
  font-size: 1.15rem;
  text-align: center;
}

.righttiSize {
  font-size: 1.5rem;
  color: #0b6ea0;
  background-image: url('../img/boom.png');
  background-repeat: no-repeat;
  background-size: 150px auto;
  background-position: center left;
}

.heatitle02 {
  font-size: 1.35rem;
}

.header-bottom {
  background-color: var(--bg-red);
  color: white;
  padding: 15px 15px;
}

.booming {
  width: 15%;
}

.heatbooming {
  width: 50px;
  height: auto;
  margin-left: 10px;
}

/* body */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  flex: 1 1 calc(50% - 20px);
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px 20px;
  background-color: #fafafa;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group label {
  margin-bottom: 4px;
  font-weight: bold;
}

.form-group input,
.form-group select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.checkbox-group {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* 標題樣式 */
.labelpotion {
  /* position: absolute;
  top: -20px;
  left: 16px; */
  color: #fff;
  padding: 8px 15px;
  border-radius: 22px;
  font-size: 1.5rem;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.fontpotion {
  text-align: end;
}


.BasicBox {
  background-color: #E5F2F6;
}

.labelone {
  background-color: #22A2E9;
}

.labeltwo {
  background-color: #E41E84;
}

.needNotice {
  font-size: 18px;
  color: white;
}

.labelthree {
  background-color: #AF4C0F;
}

.labelfour {
  background-color: #53473D;
}

.consultationBox {
  background-color: #FBE3EB;
}

.contactBox {
  background-color: #F5E8DE;
}

.agreeBox {
  background-color: EBE8E3;
}

.btn-blue {
  background-color: var(--bg-blue);
  color: white;
  border-radius: 20px;
  width: 120px;
}

.btn-red {
  background-color: var(--bg-red);
  color: white;
  border-radius: 20px;
  width: 120px;
}

.identitAnn {
  color: #333;
}

.sidebar {
  position: fixed;
  /* 固定位置 */
  bottom: 20px;
  right: 20px;
  width: 150px;
  border: 1px solid #ccc;
  padding: 10px;
  background: #f9f9f9;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar button {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  cursor: pointer;
}

.text-remind {
  font-size: 1.2rem;
  color: #901353;
}

/* 提示按鈕 */
.floating-btn {
  position: fixed;
  bottom: 5%;
  right: 20px;
  background: #E41E84;
  border: none;
  color: white;
  border-radius: 18%;
  width: 85px;
  height: 100px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  justify-content: center;
  align-items: center;
}

.floating-btn:hover {
  background: #F9A8D4;
  color: white;
  text-decoration: none;
}

.bi-file-text {
  font-size: 2rem;
}

/* modal */
.custom-modal-width {
  max-width: 1500px;
  height: 800px;
  width: 100%;
}

/* RWD */
@media (max-width:500px) {
  .custom-modal-width {
    max-width: 550px;
    width: 98%;
  }
}

@media (max-width: 575.98px) {
  .ptchlogo {
    width: 480px;
  }

  .heatbooming {
    display: none;
  }

  .ytitle {
    font-size: 1rem;
  }

  .heatitle {
    font-size: 12px;
  }

  .righttiSize {
    font-size: 20px;
  }

  .heatitle02 {
    font-size: 16px;
  }

}

@media (min-width: 576px) and (max-width: 767.98px) {
  .ptchlogo {
    width: 400px;
  }

  .booming {
    display: none;
  }

  .ytitle {
    font-size: 1.25rem;
  }

  .heatitle {
    font-size: 1.05rem;
  }

  .heatitle02 {
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .custom-modal-width {
    max-width: 800px;
    height: 600px;
    width: 85%;
  }

  .righttiSize {
    font-size: 1.3rem;
    background-image: url('../img/boom.png');
    background-repeat: no-repeat;
    background-size: 100px auto;
    background-position: 10px 20px;
  }

  .heatbooming {
    display: none;
  }

}

@media (max-width:1200px) {
  .fontpotion {
    text-align: start;
  }

  .col-sm-3,
  .col-sm-9 {
    width: 100% !important;
    max-width: 100% !important;
  }

}
