@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600&display=swap');
:root {
  --footer-grad-start: #00d8b2;
  --footer-grad-end: #00b5ff;
  --footer-text-gold: #FFD700;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#top, .main-container {
  flex: 1 0 auto;
}
#mainFooterWrapper {
  flex-shrink: 0;
  width: 100%;
  margin-bottom: 0 !important;
}
.bg-footer {
  background: linear-gradient(to top, var(--footer-grad-start) 0%, var(--footer-grad-end) 100%);
  padding-left: 0 !important;
  padding-right: 0 !important;
  font-family: 'Kanit', sans-serif;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.footer-modern {
  font-weight: 300;
}
.footer-logo-box img {
  height: 130px;
  width: auto;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}
.footer-logo-box img:hover {
  transform: scale(1.05);
}
.footer-address-text {
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.5px;
}
.btn-map-modern {
  display: inline-block;
  padding: 8px 16px;
  color: white;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  font-size: 0.9rem;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}
.btn-map-modern:hover {
  background: white;
  color: #00b5ff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.btn-map-modern i {
  margin-right: 5px;
}
.footer-brand-title {
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--footer-text-gold);
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.5rem;
}
.footer-slogan {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 1px;
}
.social-icons-container {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.social-icon-link img {
  width: 36px;
  height: 36px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
.social-icon-link:hover img {
  transform: scale(1.2);
}
.footer-heading {
  font-size: 1.2rem;
  font-weight: 500;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
  display: inline-block;
}
.footer-contact-list li {
  margin-bottom: 12px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 1rem;
}
.icon-wrapper {
  width: 30px;
  min-width: 30px;
  display: flex;
  justify-content: center;
  margin-right: 10px;
}
.contact-icon {
  width: 24px;
  height: auto;
  opacity: 0.9;
  display: block;
}
.contact-text {
  word-break: break-word;
}
.footer-policy-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
  transition: all 0.3s ease;
}
.footer-policy-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--footer-text-gold);
  transition: width 0.3s ease;
}
.footer-policy-links a:hover {
  color: var(--footer-text-gold);
}
.footer-policy-links a:hover::after {
  width: 100%;
}
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.15);
  padding: 15px 0;
  font-size: 0.85rem;
}
.text-gold {
  color: var(--footer-text-gold);
  font-weight: 500;
}
.stats-text {
  opacity: 0.8;
}
.stats-counter {
  display: flex;
  align-items: center;
  margin-left: 10px;
}
.btn-staff-login {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.btn-staff-login:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: #fff;
}
@media (max-width: 991px) {
  .footer-contact-list li {
    justify-content: center;
  }
  .footer-contact-list {
    display: inline-block;
    text-align: left;
  }
  .col-lg-4.text-center.text-lg-start {
    text-align: center !important;
  }
}
@media (max-width: 768px) {
  .footer-brand-title {
    font-size: 2.2rem;
  }
  .footer-slogan {
    font-size: 1.2rem;
  }
  .btn-map-modern {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
  .stats-counter {
    margin-left: 0;
    margin-top: 10px;
    justify-content: center;
  }
  .footer-logo-box img {
    height: 100px;
  }
}
@media (max-width: 576px) {
  .footer-brand-title {
    font-size: 1.8rem;
  }
  .footer-address-text {
    font-size: 0.9rem;
  }
  .footer-policy-links {
    flex-direction: column;
    align-items: center;
    gap: 8px !important;
  }
  .footer-contact-list li {
    font-size: 0.9rem;
  }
}
.cookie-banner-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(150px);
  width: 90%;
  max-width: 850px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 20px 25px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 2147483647;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  font-family: 'Kanit', sans-serif;
}
.cookie-banner-container.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}
.cookie-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}
.cookie-icon-box {
  font-size: 2.5rem;
  color: #FFD700;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
  animation: cookie-bounce 2s infinite;
  flex-shrink: 0;
}
.cookie-text h5 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
}
.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}
.cookie-text a {
  color: #00b5ff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dotted #00b5ff;
  white-space: nowrap;
}
.cookie-btn-group {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.btn-ck-settings {
  background: transparent;
  border: 1px solid #ccc;
  color: #555;
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-ck-settings:hover {
  background: #f8f9fa;
  border-color: #999;
  color: #333;
}
.btn-ck-accept {
  background: linear-gradient(135deg, #00b5ff 0%, #0061ff 100%);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 181, 255, 0.3);
  transition: transform 0.2s;
  white-space: nowrap;
}
.btn-ck-accept:hover {
  transform: scale(1.05);
}
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2147483648;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.cookie-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: #fff;
  width: 90%;
  max-width: 500px;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: all 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.cookie-modal-overlay.active .cookie-modal {
  transform: scale(1);
}
.ck-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}
.ck-modal-header h4 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
}
.btn-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
}
.ck-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 12px;
}
.ck-info h6 {
  margin: 0 0 5px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}
.ck-info p {
  margin: 0;
  font-size: 0.85rem;
  color: #777;
  line-height: 1.4;
}
.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #00b5ff;
}
input:checked + .slider:before {
  transform: translateX(24px);
}
input:disabled + .slider {
  background-color: #00b5ff;
  opacity: 0.5;
  cursor: not-allowed;
}
.ck-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}
.btn-ck-save {
  background: #00b5ff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
}
@keyframes cookie-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@media (max-width: 768px) {
  .cookie-banner-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    bottom: 20px;
  }
  .cookie-content {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-btn-group {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 5px;
  }
  .btn-ck-settings, .btn-ck-accept {
    flex: 1;
  }
}
@media (max-width: 991px) {
  .footer-bottom .copyright-text {
    text-align: center !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px;
  }
  .footer-bottom .copyright-text span {
    margin-left: 0 !important;
    line-height: 1.5;
  }
  .footer-bottom .col-lg-6.text-center.text-lg-end {
    text-align: center !important;
  }
  .footer-bottom .d-flex.flex-column.flex-md-row {
    flex-direction: column !important;
    gap: 0 !important;
  }
  .footer-bottom .stats-area {
    flex-direction: column !important;
    text-align: center !important;
    margin-bottom: 5px;
    margin-top: 10px;
  }
  .footer-bottom .stats-text {
    margin-bottom: 5px;
    line-height: 1.5;
  }
  .footer-bottom .stats-counter {
    margin-left: 0 !important;
    justify-content: center;
  }
  .footer-bottom .admin-login-wrapper {
    margin-top: 10px !important;
    margin-bottom: 5px !important;
    margin-left: 0 !important;
  }
}