/* 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 */
.mk7mtns9 {
  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);
}

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

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

.t7w0c4to {
  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;
}

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

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

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

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

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

.ugzk3f1r::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;
}

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

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

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

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

/* Buttons */
.ccx2tj45 {
  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);
}

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

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

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

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

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

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

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

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

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

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

.b9m1d5q5 {
  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);
}

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

.r9x7tc2p {
  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;
}

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

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

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

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

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

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

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

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

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

.qdkgufkw {
  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 */
.kp2kwbpg {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--primary-white) 100%);
}

.m5bmtmzz {
  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);
}

.m04mdbif {
  margin-bottom: 25px;
}

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

.m04mdbif input,
.m04mdbif 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);
}

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

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

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

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

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

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

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

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

.rot3lqi7 {
  list-style: none;
}

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

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

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

/* Modal */
.p2my2wmw {
  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;
}

.efk42hfi {
  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);
  }
}

.gv0fieur {
  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;
}

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

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

.pbqmgz8z {
  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);
}

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

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

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

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

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

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

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

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

/* Responsive */
@media (max-width: 768px) {
  .ugp1yt4r {
    flex-direction: column;
    gap: 15px;
  }
  
  .omsy5qa6 {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .ugzk3f1r {
    padding: 120px 0 60px;
  }
  
  .wzln6xd2 {
    font-size: 2rem;
  }
  
  .rs9xje0i {
    font-size: 1rem;
  }
  
  .qb508wle {
    height: 250px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .xzyfotcf {
    grid-template-columns: 1fr;
  }
  
  .m5bmtmzz {
    padding: 25px;
  }
  
  .rsi5w2jc {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .efk42hfi {
    padding: 30px 20px;
  }
}

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

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

/* Chart/Pseudo-graphic CSS */
.srgdvupu {
  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;
}

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

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