/*--------------------------------------------------------------
# Colors
--------------------------------------------------------------*/
:root {
  --color1: #186748;
  --color2: #229265;
  --color3: #57a13b;
  --color4: #ffffff;
  --color5: #000;
  --color6: #dfe7e1;
  --color7: rgba(255, 255, 255, .12);
  --color8: rgba(77, 4, 48, 0.18);
  --color9: rgba(182, 6, 106, 0.18);
  --color10: rgba(233, 14, 149, 0.14);
  --color11: #f6fbf8;

  --color-custom1: #FB4141;
  --color-custom2: #5CB338;
  --color-custom3: #FFC145;
  --color-custom4: #5c636a;
  --color-custom5: #ede3d7;
  --color-custom6: #000;
  --color-custom7: #fff;
  --color-custom8: #ffb218;
  --color-custom9: #8d448b;
  --color-custom10: #fbccabff;
  --color-custom11: #f97316;
  --color-custom12: #fb923c;
  --color-custom13: #1f2937;
  --color-custom14: #e5e7eb;
  --color-custom15: #f8fafc;
  --color-custom16: #4b5563;
  --color-custom17: #ffc107;
  --color-custom18: #ea580c;
  --color-custom19: #fed7aa;
  --color-custom20: #fef3e2;
  --color-custom20: 0 4px 15px rgba(0, 0, 0, 0.08);
  --color-custom21: #ffeded;
  --color-custom22: #fbccab;
  --color-custom23: #FF8C00;
  --color-custom24: #FFA500;
  --color-custom25: #FFD580;
  --color-custom26: #FFF4E6;
  --color-custom27: #FFE0B2;
  --color-custom28: #4A4A4A;
  --color-custom29: #eee;
  --color-custom30: #6a82fb;
  --color-custom31: #fc5c7d;
  --color-custom32: #e3f2fd;
  --color-custom33: #bbdefb;
  --color-custom34: #90caf9;
  --color-custom35: #1976d2;
  --color-custom36: #f8f9fa;
  --color-custom37: #dee2e6;
  --color-custom38: #495057;
  --color-custom39: #667eea;
  --color-custom40: #fff3e0;
  --color-custom41: #ffe0b2;
  --color-custom42: #ffcc02;
  --color-custom43: #e9ecef;
  --color-custom44: #666;
  --color-custom45: #4CAF50;
  --color-custom46: #45a049;
  --color-custom47: #4a5568;
  --color-custom48: #ff5722;
  --color-custom49: #ccc;
  --color-custom50: #333;
  --color-custom51: #ff6b35;
  --color-custom52: #ff8c42;
  --color-custom53: #764ba2;
  --color-custom54: #ff9800;
  --color-custom55: #f57c00;
  --color-custom56: #f3f3f3;
  --color-custom57: #ffcc80;
  --color-custom58: #fdba74;
  --color-custom59: #ff7043;
  --color-custom60: #ff8a65;
  --color-custom61: #ffab40;
  --color-custom62: #d32f2f;
  --color-custom63: #2e7d32;
  --color-custom64: #1565c0;
  --color-custom65: #42a5f5;
  --color-custom66: #039dc1;
  --color-custom67: #0a1e41;
  --color-custom68: #e4d402;
  --color-custom69: #6c757d;
  --color-custom70: #90eed3;
  --color-custom71: #5390D9;
  --color-custom72: #f5f5f5;
  --color-custom73: #ced4da;
  --color-custom74: #080bba;
  --color-custom75: #e21141;
  --color-custom76: #fdcf44;
  --color-custom77: #28c2a7;
  --color-custom78: #7f017d;
  --color-custom79: #0d6efd;
  --color-custom80: rgba(13, 110, 253, .25);
  --color-custom81: rgba(13, 110, 253, .06);
  --color-custom82: rgba(13, 110, 253, .55);
  --color-custom83: rgba(13, 110, 253, .15);
  --color-custom84: rgba(13, 110, 253, .10);
  --color-custom85: rgba(255, 255, 255, .18);
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--color-custom15);
}

main {
  flex: 1;
}

.blink_me {
  animation: blinker 2s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

body.swal2-shown>[aria-hidden="true"] {
  transition: 0.1s filter;
  filter: blur(10px);
}

.status-danger-custom1 {
  color: var(--color-custom1);
}

.status-success-custom1 {
  color: var(--color-custom2);
}

.status-warning-custom1 {
  color: var(--color-custom3);
}

.status-secondary-custom1 {
  color: var(--color-custom4);
}

.p-custom1 {
  margin: 0;
  padding: 0;
}

.button-custom1 {
  border-radius: 50px;
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  background: rgba(249, 115, 22, 0.3);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
}

.readonly-custom1 {
  background-color: var(--color-custom43);
  border: 1px solid var(--color-custom49);
  color: var(--color-custom69);
  cursor: not-allowed;
  user-select: none;
  /* ป้องกันการ select ข้อความ */
  /* pointer-events: none; */
}

.radio-custom1 {
  width: 20px;
  height: 20px;
  background-color: var(--color-custom7);
  border-radius: 50%;
  vertical-align: middle;
  outline: none;
  cursor: pointer;
}

.checkbox-custom1 {
  width: 3rem;
  height: 1.5rem;
  transform: scale(1);
  /* ขยายขนาด */
  cursor: pointer;
}

.label-custom1 {
  margin-left: 10px;
  margin-top: 5px;
}

.hr-custom1 {
  border: 1px solid black !important;
  border-radius: 25px;
}

input:read-only,
textarea:read-only {
  background-color: var(--color-custom72);
  color: var(--color-custom69);
  border-color: var(--color-custom73);
  cursor: not-allowed;
}

.display-custom1 {
  display: none;
}

.loading {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999999;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.35s ease, visibility 0.35s ease;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loading.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading:before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin-top: -30px;
  margin-left: -30px;
  border: 6px solid var(--color6);
  border-top-color: var(--color1);
  border-right-color: var(--color6);
  border-bottom-color: var(--color2);
  border-left-color: var(--color6);
  border-radius: 50%;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

.loading-text {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: 45px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  font-size: 15px;
  font-weight: 600;
  color: var(--color5);
  white-space: nowrap;
}

@-webkit-keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/
.navbar-custom1 {
  background: var(--color4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: none;
  border-bottom: 1px solid var(--color7);
  box-shadow: 0 10px 30px var(--color8);
}

@keyframes aurora-animation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 0;
  margin: 0;
}

.brand-logo {
  height: 55px;
  width: auto;
  display: block;
  object-fit: contain;
}

.navbar-header-custom1 {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color3);
  margin: 0;
}

.nav-link-custom1 {
  margin-left: 15px;
  margin-top: 5px;
  color: var(--color4);
}

a:hover,
.active-custom1 {
  font-weight: 600;
}

.capitalize-first {
  text-transform: capitalize;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer-custom {
  background-color: var(--color1);
  color: var(--color4);
  padding: 10px 0;
  text-align: center;
}

/*--------------------------------------------------------------
# LINE
--------------------------------------------------------------*/
.line-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, var(--color9), transparent 36%),
    radial-gradient(circle at top right, var(--color10), transparent 32%),
    var(--color11);
}

.line-app-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 16px;
}

@media (max-width: 576px) {
  .line-app-shell {
    padding: 12px;
  }
}

/*--------------------------------------------------------------
# Line register thaid
--------------------------------------------------------------*/
.line-register-thaid-page {
  background: #f4f6f8;
  color: #1f2937;
}

.line-register-thaid-page .line-app-shell {
  width: min(100%, 680px);
  padding: 12px 14px 24px;
}

.register-page-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid #dde2e7;
}

.register-page-heading-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #e9f5ee;
  color: #147a45;
  font-size: 1.15rem;
}

.register-page-heading h1 {
  margin: 0;
  color: #17212b;
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 700;
}

.register-page-heading p {
  margin: 4px 0 0;
  color: #66727f;
  font-size: .88rem;
  line-height: 1.45;
}

.register-workspace {
  padding: 14px;
  border: 1px solid #dce3e8;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(20, 34, 48, .05);
}

.register-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.register-section-title {
  color: #1f2933;
  font-size: 1rem;
  font-weight: 700;
}

.register-section-note {
  margin-top: 2px;
  color: #75808b;
  font-size: .82rem;
  line-height: 1.4;
}

.thaid-panel {
  overflow: hidden;
  border: 1px solid #dfe5e9;
  border-radius: 11px;
  background: #ffffff;
}

.thaid-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 13px;
  border-bottom: 1px solid #e7ebee;
  background: #f8faf9;
}

.thaid-panel-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #e9f5ee;
  color: #147a45;
  font-size: 1.05rem;
}

.thaid-panel-title {
  margin: 0;
  color: #1f2933;
  font-size: .95rem;
  line-height: 1.4;
  font-weight: 700;
}

.thaid-panel-text {
  margin: 3px 0 0;
  color: #75808b;
  font-size: .8rem;
  line-height: 1.5;
}

.thaid-steps {
  padding: 4px 13px;
}

.thaid-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #eef1f3;
}

.thaid-step:last-child {
  border-bottom: 0;
}

.thaid-step-number {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfe0d6;
  border-radius: 8px;
  background: #f0f8f3;
  color: #17633c;
  font-size: .76rem;
  font-weight: 700;
}

.thaid-step-title {
  margin: 1px 0 2px;
  color: #2b3741;
  font-size: .84rem;
  line-height: 1.4;
  font-weight: 700;
}

.thaid-step-text {
  margin: 0;
  color: #717c86;
  font-size: .78rem;
  line-height: 1.5;
}

.thaid-notice {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 10px 11px;
  border: 1px solid #dce6df;
  border-radius: 10px;
  background: #f7faf8;
  color: #53615a;
  font-size: .78rem;
  line-height: 1.5;
}

.thaid-notice i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #147a45;
}

@media (max-width: 576px) {
  .line-register-thaid-page .line-app-shell {
    padding: 8px 10px 18px;
  }

  .register-page-heading {
    padding-top: 8px;
  }

  .register-workspace {
    padding: 11px;
    border-radius: 12px;
  }

  .thaid-panel-header,
  .thaid-steps {
    padding-left: 11px;
    padding-right: 11px;
  }
}

/*--------------------------------------------------------------
# Line register history
--------------------------------------------------------------*/
.line-register-history-page {
  background: #f4f6f8;
  color: #1f2937;
}

.line-register-history-page .line-app-shell {
  width: min(100%, 680px);
  padding: 12px 14px 24px;
}

.register-page-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid #dde2e7;
}

.register-page-heading-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #e9f5ee;
  color: #147a45;
  font-size: 1.15rem;
}

.register-page-heading h1 {
  margin: 0;
  color: #17212b;
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 700;
}

.register-page-heading p {
  margin: 4px 0 0;
  color: #66727f;
  font-size: .88rem;
  line-height: 1.45;
}

.register-workspace {
  padding: 14px;
  border: 1px solid #dce3e8;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(20, 34, 48, .05);
}

.register-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.register-section-title {
  color: #1f2933;
  font-size: 1rem;
  font-weight: 700;
}

.register-section-note {
  margin-top: 2px;
  color: #75808b;
  font-size: .82rem;
  line-height: 1.4;
}

.register-loading,
.register-state {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  border: 1px solid #e1e6ea;
  border-radius: 10px;
  background: #f8fafb;
  text-align: center;
}

.register-loading .spinner-border {
  width: 2rem;
  height: 2rem;
  color: #147a45;
}

.register-state-icon {
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: #edf1f4;
  color: #64717c;
  font-size: 1.2rem;
}

.register-state.is-danger .register-state-icon {
  background: #fbefef;
  color: #9a3f3f;
}

.register-state-title {
  margin: 0;
  color: #26323d;
  font-size: .94rem;
  font-weight: 700;
}

.register-state-message {
  max-width: 360px;
  margin: 5px auto 0;
  color: #6f7a84;
  font-size: .82rem;
  line-height: 1.5;
}

.register-profile {
  overflow: hidden;
  border: 1px solid #dfe5e9;
  border-radius: 11px;
  background: #ffffff;
}

.register-profile-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border-bottom: 1px solid #e7ebee;
  background: #f8faf9;
}

.register-profile-label {
  margin-bottom: 3px;
  color: #75808b;
  font-size: .74rem;
  line-height: 1.3;
}

.register-profile-name {
  color: #1f2933;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.register-status-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid #cfe0d6;
  border-radius: 8px;
  color: #17633c;
  background: #f0f8f3;
  font-size: .74rem;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.register-group {
  padding: 13px;
  border-bottom: 1px solid #e7ebee;
}

.register-group:last-child {
  border-bottom: 0;
}

.register-group-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: #33414c;
  font-size: .84rem;
  font-weight: 700;
}

.register-group-title i {
  width: 17px;
  color: #147a45;
  text-align: center;
}

.register-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
}

.register-info-item {
  display: grid;
  grid-template-columns: minmax(105px, .8fr) minmax(0, 1.2fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding: 9px 0;
  border-bottom: 1px solid #eef1f3;
}

.register-info-grid .register-info-item:nth-last-child(-n+2) {
  border-bottom: 0;
}

.register-info-label {
  color: #7a858f;
  font-size: .77rem;
  line-height: 1.4;
}

.register-info-value {
  min-width: 0;
  color: #26323d;
  font-size: .83rem;
  line-height: 1.45;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.register-info-value.is-highlight {
  color: #147a45;
  font-weight: 700;
}

.register-consent-ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #17633c;
}

@media (max-width: 576px) {
  .line-register-history-page .line-app-shell {
    padding: 8px 10px 18px;
  }

  .register-page-heading {
    padding-top: 8px;
  }

  .register-workspace {
    padding: 11px;
    border-radius: 12px;
  }

  .register-profile-header {
    padding: 11px;
  }

  .register-group {
    padding: 11px;
  }

  .register-info-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .register-info-grid .register-info-item:nth-last-child(-n+2) {
    border-bottom: 1px solid #eef1f3;
  }

  .register-info-grid .register-info-item:last-child {
    border-bottom: 0;
  }

  .register-info-item {
    grid-template-columns: minmax(105px, .8fr) minmax(0, 1.2fr);
    gap: 9px;
  }
}
/* EXTRA TIME main menu */
.extra-time-menu-card {
  transition: transform .15s ease, box-shadow .15s ease;
}

.extra-time-menu-card:hover {
  transform: translateY(-2px);
}

.extra-time-menu-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef5ff;
  color: #2457a6;
  font-size: 1.25rem;
  flex: 0 0 48px;
}

.admin-body {
  background: #f6f8fb;
}

/*--------------------------------------------------------------
# Line health / visit / knowledge
--------------------------------------------------------------*/
.line-health-page,
.line-visit-page,
.line-knowledge-page,
.line-knowledge-detail-page {
  background: #f4f6f8;
  color: #1f2937;
}

.line-health-page .line-app-shell,
.line-visit-page .line-app-shell,
.line-knowledge-page .line-app-shell,
.line-knowledge-detail-page .line-app-shell {
  width: min(100%, 680px);
  padding: 12px 14px 24px;
}

.line-simple-menu {
  overflow: hidden;
  border: 1px solid #dfe5e9;
  border-radius: 10px;
  background: #ffffff;
}

.line-simple-menu-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
  border: 0;
  border-bottom: 1px solid #e7ebee;
  background: #ffffff;
  color: #26323d;
  font-size: .88rem;
  font-weight: 600;
  text-align: left;
}

.line-simple-menu-item:last-child {
  border-bottom: 0;
}

.line-simple-menu-item:focus,
.line-simple-menu-item:hover {
  background: #f8faf9;
  color: #17633c;
}

.line-simple-menu-item i {
  color: #8a949d;
  font-size: .75rem;
}

.line-simple-section {
  padding: 14px 0;
  border-top: 1px solid #e7ebee;
}

.line-simple-section:first-of-type {
  border-top: 0;
}

.line-simple-section-title {
  color: #26323d;
  font-size: .92rem;
  font-weight: 700;
}

.line-simple-section-note {
  margin-top: 3px;
  margin-bottom: 10px;
  color: #75808b;
  font-size: .78rem;
  line-height: 1.45;
}

.line-simple-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  color: #6f7a84;
  font-size: .82rem;
}

.line-simple-empty {
  padding: 14px 0;
  color: #75808b;
  font-size: .84rem;
  text-align: center;
}

.line-simple-content-title {
  margin-bottom: 8px;
  color: #26323d;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.line-simple-content-detail {
  color: #3f4a53;
  font-size: .86rem;
  line-height: 1.7;
}

.line-simple-content-date {
  margin-top: 10px;
  color: #818b94;
  font-size: .75rem;
}

.health-question-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.health-question-btn {
  border-radius: 7px;
  white-space: normal;
  text-align: left;
}

.health-chat-box {
  max-height: 280px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #e1e6ea;
  border-radius: 8px;
  background: #f8fafb;
}

.health-chat-message {
  padding: 8px 0;
  border-bottom: 1px solid #e8ecef;
  color: #3f4a53;
  font-size: .82rem;
  line-height: 1.55;
}

.health-chat-message:last-child {
  border-bottom: 0;
}

.health-chat-message.is-user strong {
  color: #17633c;
}

.line-knowledge-list {
  overflow: hidden;
  border: 1px solid #dfe5e9;
  border-radius: 9px;
}

.line-knowledge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid #e7ebee;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
}

.line-knowledge-item:last-child {
  border-bottom: 0;
}

.line-knowledge-item:hover,
.line-knowledge-item:focus {
  background: #f8faf9;
  color: inherit;
}

.line-knowledge-text {
  min-width: 0;
  flex: 1;
}

.line-knowledge-title {
  color: #26323d;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.4;
}

.line-knowledge-note {
  margin-top: 3px;
  color: #75808b;
  font-size: .76rem;
  line-height: 1.45;
}

.line-knowledge-item > i {
  flex: 0 0 auto;
  color: #8a949d;
  font-size: .75rem;
}

.line-video-wrap {
  overflow: hidden;
  border-radius: 8px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.line-video-wrap iframe,
.line-video-wrap video {
  width: 100%;
  height: 100%;
  border: 0;
}

.line-video-wrap video {
  display: block;
  object-fit: contain;
  background: #000000;
}

@media (max-width: 576px) {
  .line-health-page .line-app-shell,
  .line-visit-page .line-app-shell,
  .line-knowledge-page .line-app-shell,
  .line-knowledge-detail-page .line-app-shell {
    padding: 8px 10px 18px;
  }
}

/*--------------------------------------------------------------
# Line health question
--------------------------------------------------------------*/
.health-form-label {
  margin-bottom: 6px;
  color: #26323d;
  font-size: .84rem;
  font-weight: 600;
}

.health-support-row {
  margin-top: 8px;
  text-align: right;
}

.health-support-row .btn-link {
  color: #4f5b66;
  font-size: .78rem;
  text-decoration: none;
}

.health-support-row .btn-link:hover,
.health-support-row .btn-link:focus {
  color: #17633c;
  text-decoration: underline;
}

.health-answer {
  margin-top: 14px;
  border-top: 1px solid #e3e8eb;
}

.health-answer-question,
.health-answer-response {
  padding: 12px 0;
  color: #3f4a53;
  font-size: .86rem;
  line-height: 1.7;
}

.health-answer-question {
  border-bottom: 1px solid #edf0f2;
}

.health-answer-response.is-urgent {
  color: #7f1d1d;
}

.health-answer-label {
  margin-bottom: 4px;
  color: #26323d;
  font-size: .78rem;
  font-weight: 700;
}

.health-answer-text {
  white-space: normal;
}

.health-quick-reply {
  padding: 0 0 12px;
}

.health-quick-reply-title {
  margin-bottom: 6px;
  color: #6f7a84;
  font-size: .76rem;
  font-weight: 600;
}

.health-quick-reply-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid #edf0f2;
  color: #26323d;
  font-size: .82rem;
  line-height: 1.45;
  text-decoration: none;
}

.health-quick-reply-link:hover,
.health-quick-reply-link:focus {
  color: #17633c;
}

.health-quick-reply-link i {
  flex: 0 0 auto;
  color: #8a949d;
  font-size: .7rem;
}

/* Doctor schedule styles migrated from the original LINE page. */
.clinic-schedule-card {
  transition: all 0.25s ease;
}

.clinic-schedule-card:hover {
  background-color: #017045;
  color: #fff;
  border-color: #017045;
  box-shadow: 0 4px 10px rgba(1, 112, 69, 0.3);
  /* ✅ เพิ่มเงา */
  cursor: pointer;
}

.clinic-schedule-card:hover h5,
.clinic-schedule-card:hover p {
  color: #fff;
}

.clinic-schedule-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 2px solid #e0e0e0;
}

/* ตารางวันออกตรวจ */
.clinic-schedule-box {
  background: #f8f9fa;
  color: #000 !important;
}

.clinic-schedule-day-box {
  width: 19%;
}

.clinic-schedule-tiny-text {
  font-size: 0.7rem;
}

.clinic-schedule-time {
  display: block;
  margin-top: 2px;
  padding: 1px 3px;
  border-radius: 4px;
  background: #e9ecef;
}

.clinic-schedule-time.active {
  background: var(--color-custom2) !important;
  color: #fff;
  font-weight: 700;
}

.clinic-schedule-day-time {
  color: #000;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  font-weight: bold;
}

.clinic-schedule-day-mon {
  background-color: #FFD700;
  color: #000;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  font-weight: bold;
}

.clinic-schedule-day-tue {
  background-color: #FF6FB5;
  color: #000;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  font-weight: bold;
}

.clinic-schedule-day-wed {
  background-color: #28a745;
  color: #000;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  font-weight: bold;
}

.clinic-schedule-day-thu {
  background-color: #FF8C00;
  color: #000;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  font-weight: bold;
}

.clinic-schedule-day-fri {
  background-color: #00AEEF;
  color: #000;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  font-weight: bold;
}


/* ปรับเพิ่มสำหรับจอเล็กมาก ๆ */
@media (max-width: 360px) {
  .clinic-schedule-img {
    width: 70px;
    height: 70px;
  }

  .clinic-schedule-tiny-text {
    font-size: 0.65rem;
  }
}
