/* --- 1. ตัวแปรสีหลัก (Theme Variables) อ้างอิงจากดีไซน์ของคุณ --- */
:root {
    --primary-color: #E91E63; /* สีชมพูหลัก */
    --dark-color: #343a40;      /* สีเทาเข้ม */
    --light-gray-bg: #f8f9fa;   /* สีพื้นหลังเทาอ่อน */
    --text-color: #212529;      /* สีตัวหนังสือหลัก */
    --text-muted: #6c757d;      /* สีตัวหนังสือรอง */
}

/* --- 2. สไตล์ทั่วไป --- */
body {
    font-family: 'Kanit', sans-serif;
    background-color: #ffffff;
    color: var(--text-color);
}

/* --- 3. เมนูหลัก (Navbar) --- */
.navbar-main {
    background-color: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}
.navbar-main .navbar-brand {
    font-weight: 700;
    color: var(--dark-color);
}
.navbar-main .nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.2s ease;
}
.navbar-main .nav-link:hover {
    color: var(--primary-color);
}
.navbar-main .nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
}
.navbar-logo {
    height: 40px; /* ปรับความสูงของโลโก้ตามต้องการ */
    width: auto;
}

/* ปุ่ม Login / User Dropdown */
.btn-login, .btn-user-dropdown {
    background-color: var(--primary-color);
    color: white !important;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    border: none;
}
.btn-login:hover, .btn-user-dropdown:hover {
    background-color: #c2185b;
}
.dropdown-menu {
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    border: none;
}

/* --- 4. ส่วน Hero (ปุ่มจองล็อค) --- */
#hero .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}
#hero .btn-primary:hover {
    background-color: #c2185b;
    border-color: #c2185b;
}

/* --- 5. ส่วน Section อื่นๆ --- */
#about-dark {
    background-color: var(--light-gray-bg);
}
.video-placeholder, .promo-item, .news-item {
    height: 220px;
    background-color: #e9ecef;
    border-radius: 8px;
}
.card {
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0; /* อาจจะเปลี่ยนเป็นเส้นขอบสีเทาอ่อนๆ แทนเงาเข้ม */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* ทำให้เงาจางและฟุ้งขึ้น */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); /* เงาตอน hover เข้มขึ้นเล็กน้อย */
}

.card .card-img-top {
    border-radius: 8px 8px 0 0; /* ทำให้มุมรูปภาพโค้งมน (เฉพาะด้านบน) */
}


/* --- 6. ส่วนท้ายเว็บ (Footer) --- */
.footer-main {
    background-color: var(--dark-color);
    color: #adb5bd;
    padding: 60px 0 20px 0;
}
.footer-main h6 {
    color: #ffffff;
    font-weight: 700;
}
.footer-main hr {
    background-color: var(--primary-color);
    height: 2px;
    width: 60px;
    border: none;
    opacity: 1;
}
.footer-main p, .footer-main a {
    color: #adb5bd;
    font-size: 0.9rem;
    text-decoration: none;
}
.footer-main a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.footer-social-icons a {
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

/* --- 7. ปุ่มแชท (Chat Bubble) --- */
.chat-bubble {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}
.chat-bubble:hover {
    transform: scale(1.1);
    color: white;
}
#hero {
    background-color: #ffb1e1; /* สีพื้นหลัง */
    padding: 100px 0;         /* เพิ่มพื้นที่ด้านบน-ล่าง */
}
/* --- START: Custom Styles for Upload Slip Page --- */

.upload-slip-container .card {
    border-radius: 0.75rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.1);
}

.upload-slip-container .card-header {
    background-color: #6c757d; /* Gray Header */
    color: var(--text-light);
    font-weight: 600;
    padding: 1rem 1.5rem;
}

.payment-details-box {
    padding: 1.5rem;
}

.payment-summary-box {
    background-color: var(--light-gray-bg);
    padding: 1.5rem;
    border-radius: 0.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.payment-summary-box .display-6 {
    color: var(--text-color); /* Use dark text color for price */
    font-weight: 700;
}

.upload-form-box {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

/* --- END: Custom Styles --- */

/* ทั่วไปเกี่ยวกับตลาดa bout-page-header */
.about-page-header {
  background-color: #ffb1e1; /* สีพื้นตามที่คุณระบุ */
  padding: 80px 0;           /* ระยะห่างบนล่าง */
  width: 100%;               /* เต็มความกว้าง */
}

.about-page-header h1 {
  font-size: 3rem;
  font-weight: bold;
}

.about-page-header p {
  font-size: 1.2rem;
  color: #6c757d;
}

/* --- Section: หัวข้อทีมบุคลากร (Team Heading) --- */
.team-heading {
  background-color: #ff009c;
  padding: 60px 0 40px;
  text-align: center;
}

.team-heading h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

/* ทั่วไปเกี่ยวกับตลาด about-page-header */

/* --- Section: Google Map --- */
.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%; /* 16:9 ratio */
  position: relative;
  height: 0;
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
/* กล่องแผนที่แบบมีขอบ */
.map-box {
  border: 1px solid #dee2e6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}
.team-member .team-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}