/* Sugar Watch Thailand - Clinical Trust Theme */
/* Medical Professional Portal Styles */

/* CSS Variables */
:root {
  --primary-white: #FFFFFF;
  --calm-blue: #2196F3;
  --calm-blue-dark: #1976D2;
  --light-gray: #ECEFF1;
  --medium-gray: #B0BEC5;
  --dark-gray: #546E7A;
  --text-primary: #263238;
  --text-secondary: #455A64;
  --border-color: #CFD8DC;
  --shadow-light: 0 2px 8px rgba(33, 150, 243, 0.1);
  --shadow-medium: 0 4px 16px rgba(33, 150, 243, 0.15);
  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Prompt', 'Sarabun', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--primary-white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sarabun', sans-serif;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: var(--calm-blue);
  transition: var(--transition);
}

a:hover {
  color: var(--calm-blue-dark);
}

/* Container */
.auib34u8 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--primary-white);
  border-bottom: 1px solid var(--light-gray);
  z-index: 1000;
  box-shadow: var(--shadow-light);
}

.vnt4ttx8 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.zrv2dkmb {
  font-family: 'Sarabun', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--calm-blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.zvqaurfo {
  width: 40px;
  height: 40px;
  background: var(--calm-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.fn7cg5qa {
  display: flex;
  list-style: none;
  gap: 30px;
}

.fn7cg5qa a {
  color: var(--text-secondary);
  font-family: 'Sarabun', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}

.fn7cg5qa a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--calm-blue);
  transition: var(--transition);
}

.fn7cg5qa a:hover::after,
.fn7cg5qa a.active::after {
  width: 100%;
}

/* Hero Section */
.vfzpcq1k {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, var(--primary-white) 0%, var(--light-gray) 100%);
  position: relative;
  overflow: hidden;
}

.vfzpcq1k::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.ynjezuio {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.rre4ga3u {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.jkxuig52 {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

.qpn6pf0n {
  width: 100%;
  max-width: 900px;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
  margin: 40px auto;
  display: block;
}

/* Buttons */
.zg2z0upb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: 'Prompt', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.jh3j7wl4 {
  background: var(--calm-blue);
  color: white;
}

.jh3j7wl4:hover {
  background: var(--calm-blue-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.u7vh7f5f {
  background: var(--light-gray);
  color: var(--text-primary);
}

.u7vh7f5f:hover {
  background: var(--medium-gray);
  color: white;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.z8v9u0ne {
  background: var(--light-gray);
}

.njdjbz4h {
  text-align: center;
  margin-bottom: 50px;
}

.njdjbz4h h2 {
  margin-bottom: 15px;
}

.njdjbz4h p {
  max-width: 600px;
  margin: 0 auto;
}

/* Info Cards Grid */
.a8wx9c33 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.zahp4c9t {
  background: var(--primary-white);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.zahp4c9t:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.frlub7es {
  width: 70px;
  height: 70px;
  background: rgba(33, 150, 243, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.zahp4c9t h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.zahp4c9t p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Food Table Section */
.wetfmbv4 {
  overflow-x: auto;
  background: var(--primary-white);
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

.ogkdlr4l {
  width: 100%;
  border-collapse: collapse;
}

.ogkdlr4l th,
.ogkdlr4l td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
}

.ogkdlr4l th {
  background: var(--light-gray);
  font-family: 'Sarabun', sans-serif;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 1rem;
}

.ogkdlr4l td {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.ogkdlr4l tr:last-child td {
  border-bottom: none;
}

.ogkdlr4l tr:hover td {
  background: rgba(33, 150, 243, 0.03);
}

.wtybr1t5 {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(33, 150, 243, 0.1);
  color: var(--calm-blue);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 400;
}

/* Contact Form Section */
.bu05dyae {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--primary-white) 100%);
}

.zvhqh2v1 {
  max-width: 600px;
  margin: 0 auto;
  background: var(--primary-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-color);
}

.uv3kv1yt {
  margin-bottom: 25px;
}

.uv3kv1yt label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Sarabun', sans-serif;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.uv3kv1yt input,
.uv3kv1yt textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Prompt', sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--primary-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition);
}

.uv3kv1yt input:focus,
.uv3kv1yt textarea:focus {
  outline: none;
  border-color: var(--calm-blue);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.uv3kv1yt textarea {
  min-height: 120px;
  resize: vertical;
}

.dd6yj0df {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: var(--primary-white);
  padding: 60px 0 30px;
}

.lhswo8a3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.ckw2njbf h4 {
  color: var(--primary-white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.ckw2njbf p,
.ckw2njbf a {
  color: var(--medium-gray);
  font-size: 0.9rem;
  line-height: 1.8;
}

.ckw2njbf a:hover {
  color: var(--primary-white);
}

.a27j5wzg {
  list-style: none;
}

.a27j5wzg li {
  margin-bottom: 10px;
}

.c5qfvuii {
  border-top: 1px solid var(--dark-gray);
  padding-top: 30px;
  text-align: center;
}

.c5qfvuii p {
  color: var(--medium-gray);
  font-size: 0.85rem;
}

/* Modal */
.jeg5db65 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(38, 50, 56, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.oo7qvc0v {
  background: var(--primary-white);
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tmgo3wrs {
  width: 80px;
  height: 80px;
  background: rgba(33, 150, 243, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2.5rem;
}

.oo7qvc0v h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.oo7qvc0v p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
}

.t8yp7s3q {
  background: var(--calm-blue);
  color: white;
  border: none;
  padding: 14px 40px;
  font-family: 'Prompt', sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.t8yp7s3q:hover {
  background: var(--calm-blue-dark);
}

/* Legal Pages */
.gisfdr74 {
  padding: 120px 0 80px;
}

.d3092qb3 {
  max-width: 800px;
  margin: 0 auto;
}

.d3092qb3 h1 {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--light-gray);
}

.d3092qb3 h2 {
  margin: 30px 0 15px;
  color: var(--calm-blue);
}

.d3092qb3 p,
.d3092qb3 li {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.d3092qb3 ul,
.d3092qb3 ol {
  margin-left: 25px;
  margin-bottom: 20px;
}

.d3092qb3 li {
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .vnt4ttx8 {
    flex-direction: column;
    gap: 15px;
  }
  
  .fn7cg5qa {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .vfzpcq1k {
    padding: 120px 0 60px;
  }
  
  .rre4ga3u {
    font-size: 2rem;
  }
  
  .jkxuig52 {
    font-size: 1rem;
  }
  
  .qpn6pf0n {
    height: 250px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .a8wx9c33 {
    grid-template-columns: 1fr;
  }
  
  .zvhqh2v1 {
    padding: 25px;
  }
  
  .lhswo8a3 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .oo7qvc0v {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  
  .fn7cg5qa {
    gap: 10px;
  }
  
  .fn7cg5qa a {
    font-size: 0.85rem;
  }
  
  .zg2z0upb {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

/* Utility Classes */
.v2n81p1v { text-align: center; }
.text-blue { color: var(--calm-blue); }
.f3v3gxej { margin-top: 20px; }
.vlqyriex { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* Chart/Pseudo-graphic CSS */
.wywx4mnv {
  height: 20px;
  background: linear-gradient(90deg, var(--calm-blue) 0%, rgba(33, 150, 243, 0.5) 100%);
  border-radius: 10px;
  transition: width 0.5s ease;
}

.v1auvgd2 {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 15px;
  margin: 10px 0;
}

.qtvvs8o6 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
