﻿/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a {
  color: #0077cc;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  white-space: normal;
  line-height: 1.5;
  background: linear-gradient(90deg, var(--weyi-blue) 60%, var(--weyi-purple) 100%);
  color: #fff !important;
  text-align: center;
  z-index: 1030;
  padding: 0.7rem 0;
  font-size: 1.05rem;
  box-shadow: 0 -2px 12px 0 rgba(68,63,170,0.07);
}
.footer .contact-info {
  margin-top: 0.3rem;
  font-size: 1rem;
  letter-spacing: 0.2px;
}
.navbar .navbar-logo {
  display: inline-block;
  background: linear-gradient(135deg, var(--weyi-blue) 60%, var(--weyi-purple) 100%);
  /* border-radius: 50%; */
  padding: 0.2em;
  margin-right: 12px;
  height: 36px !important;
}
@media (max-width: 576px) {
  .navbar .navbar-logo {
    display: none !important;
  }
  .navbar-brand span {
    font-size: 1rem;
    white-space: normal;
  }
  .container, .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .footer .contact-info {
    font-size: 0.97rem;
    word-break: break-all;
  }
  .footer .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .main-content-scroll {
    margin-top: 32px;
    margin-bottom: 32px;
    min-height: calc(100vh - 124px);
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .activity-info-card,
  .activity-form-card {
    padding: 1.1rem 0.7rem 0.9rem 0.9rem;
    border-radius: 0.9rem;
  }
  .activity-info-title {
    font-size: 1.13rem;
  }
  .activity-table th, .activity-table td {
    font-size: 0.97rem;
    padding: 0.5rem;
  }
  .activity-section-title {
    font-size: 1.03rem;
  }
}
body {
  padding: 0 !important;
  margin: 0;
  min-height: 100vh;
  /* Soft gradient background with a hint of warmth */
  /* background: linear-gradient(135deg, #f7f9fc 60%, #fdf6f0 100%); */
  background: #f5f6fa;
}
.main-content-scroll {
  /* 計算 header/footer 高度，讓中間內容可滾动 */
  margin-top: 32px;
  margin-bottom: 32px;
  min-height: calc(100vh - 150px);
  overflow-y: auto;
  padding-bottom: 2rem;
  padding-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 576px) {
  .main-content-scroll {
    margin-top: 32px;
    margin-bottom: 32px;
    min-height: calc(100vh - 124px);
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}
/* 表單、tab、table RWD 微調 */
form .form-label {
  font-weight: 600;
  color: var(--weyi-blue);
  letter-spacing: 0.2px;
}
.table-responsive {
  overflow-x: auto;
  margin-bottom: 1rem;
}
.activity-info-card {
  border-left: 7px solid #3B5BA9; /* 主色條：藍色 */
  border-radius: 1.1rem;
  box-shadow: 0 4px 24px 0 rgba(68,63,170,0.10);
  background: #fff;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin-bottom: 1.5rem;
  border-top: 1.5px solid #ede7f6;
}
.activity-info-header {
  border-bottom: 1.5px solid #e3eafc;
  padding-bottom: 0.7rem;
  align-items: center;
}
.activity-info-icon svg {
  color: var(--weyi-blue);
  background: var(--weyi-warm);
  border-radius: 50%;
  padding: 0.2em;
  box-shadow: 0 1px 6px 0 rgba(255,213,128,0.12);
}
.activity-info-title {
  font-size: 1.7rem;
  font-weight: bold;
  background: linear-gradient(90deg, var(--weyi-blue) 60%, var(--weyi-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1.2px;
  margin-left: 0.2em;
}
.activity-info-body p {
  margin-bottom: 0.7rem;
  color: #222;
  font-size: 1.12rem;
  line-height: 1.7;
}
.activity-highlight {
  color: #fff;
  font-weight: bold;
  background: linear-gradient(90deg, var(--weyi-blue) 60%, var(--weyi-purple) 100%);
  border-radius: 0.35em;
  padding: 0 0.4em;
  box-shadow: 0 2px 12px 0 rgba(68,63,170,0.10);
  /* Add a soft border for warmth */
  border-bottom: 2.5px solid var(--weyi-warm);
}
.activity-table-title {
  background: linear-gradient(90deg, #f3f7fd 60%, #f8f3fd 100%);
  color: var(--weyi-blue);
  border-radius: 0.7em;
  padding: 0.7em 1.2em;
  margin-bottom: 0.7em;
  font-size: 1.12rem;
  border: none;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.activity-table th, .activity-table td {
  vertical-align: middle;
  text-align: center;
  font-size: 1.02rem;
  background: #fff;
  border-bottom: 1.5px solid #e3eafc;
}
.activity-table th {
  background: linear-gradient(90deg, #e3eafc 60%, #ede7f6 100%);
  color: var(--weyi-blue);
  border-bottom: 2.5px solid #e3eafc;
  font-weight: 600;
}
.activity-link {
  color: var(--weyi-purple) !important;
  word-break: break-all;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s;
}
.activity-link:hover {
  color: var(--weyi-blue) !important;
}
.activity-form-card {
  background: #f7f9fc;
  border-radius: 0.75rem;
  box-shadow: 0 2px 16px 0 rgba(68,63,170,0.04);
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  margin-bottom: 1.5rem;
  border-left: 6px solid #443FAA;
}
.activity-label {
  color: var(--weyi-blue);
  font-weight: 600;
}
.activity-input {
  border: 1.5px solid var(--weyi-blue);
  border-radius: 0.6rem;
  background: #f7f9fc;
  font-size: 1.05rem;
  transition: border-color 0.2s;
}
.activity-input:focus {
  border-color: var(--weyi-purple);
  background: #fff;
}
.activity-btn {
  background: linear-gradient(90deg, var(--weyi-blue) 60%, var(--weyi-purple) 100%);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 0.7rem;
  font-size: 1.18rem;
  box-shadow: 0 2px 12px 0 rgba(68,63,170,0.10);
  transition: background 0.2s, box-shadow 0.2s;
  padding: 0.7em 0;
  letter-spacing: 0.5px;
}
.activity-btn:hover, .activity-btn:focus {
  background: linear-gradient(90deg, var(--weyi-purple) 60%, var(--weyi-blue) 100%);
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(68,63,170,0.13);
}
.activity-tabs {
  border-bottom: 2.5px solid var(--weyi-blue);
  margin-bottom: 0.7rem;
}
.activity-tab-link {
  color: var(--weyi-blue) !important;
  font-weight: 500;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  background: none !important;
  transition: border-color 0.2s, color 0.2s;
  border-radius: 0.5em 0.5em 0 0;
  font-size: 1.07rem;
  padding: 0.6em 1.2em;
}
.activity-tab-link.active, .activity-tab-link:focus {
  color: var(--weyi-purple) !important;
  border-bottom: 3px solid var(--weyi-purple) !important;
  background: #f7f9fc !important;
}
.activity-section-title {
  color: var(--weyi-blue);
  font-weight: bold;
  font-size: 1.18rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}
.activity-location-guide {
  white-space: pre-wrap;
  background: #f7f9fc;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 1.02rem;
  overflow-x: auto;
  border: 1.5px solid #e3eafc;
  margin-top: 0.4rem;
  color: #444;
}
