:root {
  --mainColorG: #1C3B1F;
  --mainColorB: #072E46;
  --textColor: #2e3436;
  --bg-gray: #eeeeec;
  --bg-light-gray: #eeeeec;
  --sColor: #4de1d2;
}


* {
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 2px;
  font-family: 'Noto Sans TC', sans-serif;
  box-sizing: border-box; 
  color: var(--textColor);
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-image: linear-gradient(135deg, #f5f7fa 0%, #f1f1f1 100%);
}

#content {
  min-height: calc(100vh - 10.5em);
}


a {
  text-decoration: none;
}

.top_btns {
  margin: 0.8em;
  display: flex;
  justify-content: end;
  align-items: center;
}

.top_btns input[type=text] {
  font-size: 1em;
  line-height: 1.2em;
  padding: 8px;
  width: 100%;
  border-radius: 5px;
  outline-color: rgb(84 105 212 / 0.5);
  background-color: rgb(255, 255, 255);
  border: 1px solid #e5e5e5;
}

.top_btns input[type=submit] {
  border-radius: 5px;
  border: none;
  background: #008bc9;
  color: #FFF;
  padding: 6px 8px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 1em;
}

header h1 {
  text-align: center;
}

header h1 a {
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 0.2em;
}

header h1 a span {
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 1px;
}

header div a {
    font-size: 1.08em;
    white-space: nowrap;
    margin: 0 0.1em;
    padding: 0.2em 0.3em;
    background: rgba(255, 255, 255, 0.25); 
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
    color: #1a1a1a;
    text-decoration: none; 
}

header div a:hover {
    background: rgba(255, 255, 255, 0.5); /* 滑鼠移上去時，讓按鈕變亮一點 */
    cursor: pointer;
}

.full {
  margin: 1em;
}

.fieldLink a.delete {
  color: #F44336;
  font-weight: 700;
}

table a {
  font-weight: 700;
}

#loader {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 999;
    background: #cccccc66;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
}

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* footer */
.serviceEmail {
  text-align: center;
}

.footerPrivacy {
  display: flex;
  justify-content: center;
  margin: 1em 0;
}


@media screen and (max-width: 660px) {
  header h1 a {
    font-size: 1.3em;
    letter-spacing: 0.1em;
  }
}
@media screen and (max-width: 5700px) {
  header {
    flex-wrap: wrap;
  }
}

