/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100;200;300;400;500;600;700;800;900&display=swap'); */
:root {
    --action-gradient-primary: linear-gradient(45deg, #519bd9 0%, #174a96 100%);
    --action-gradient-primary2: linear-gradient(-45deg, #519bd9 0%, #174a96 100%);
    --action-gradient-primary3: linear-gradient(0deg, #519bd9 0%, #174a96 100%);
}

html,
body {
    font-family: 'Noto Sans Thai', sans-serif;
}

.pull-left {
    float: left;
}

#header #logo img {
    padding: 0;
    margin: 0;
    position: absolute;
    width: 230px;
    margin-top: -7px;
    margin-left: -14px;
}

.txtService {
    font-weight: 600;
    color: #174996;
}

.service_list_show {
    border-radius: 1.5rem!important;
    margin-top: 1rem;
    background-color: #fff;
    padding: 1.2rem;
}

.txtTitleMood {
    font-size: 13px;
}

@media (max-width: 740px) {
    .txtTitleMood {
        font-size: 11px;
    }
}

.nav-bar {
    background: #fff;
    width: 100%;
    height: 4.5rem;
    position: absolute;
    left: 0;
    bottom: 0;
    filter: url("#fancy-goo");
    box-shadow: 0px -11px 6px 0px rgb(0 0 0 / 16%);
}

.nav-bar svg {
    height: 2.3rem;
    margin-bottom: 4px;
    position: relative;
    z-index: 10;
    transition: all .4s;
    display: inline-block;
}

.nav-bar ul {
    display: flex;
    height: 100%;
    padding-left: 0;
}

.nav-bar ul li {
    height: 100%;
    text-align: center;
    list-style: none;
    align-items: center;
    display: flex;
    cursor: pointer;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    flex: 1;
    line-height: 1rem;
}

.nav-bar ul li span {
    font-weight: 400;
    width: 100%;
    display: block;
    text-align: center;
    transition: all .22s;
    color: #174996;
}

.nav-bar ul li:after {
    width: 65%;
    height: 50%;
    border-radius: 100%;
    content: '';
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 0;
    z-index: 0;
    position: absolute;
    background: #fff;
    transition: all .4s;
}

.nav-bar ul li:hover:after {
    transform: translate3d(0, -15%, 0);
}

.nav-bar ul li.active:after {
    transform: translate3d(0, -40%, 0);
}

.nav-bar ul li.active span,
.nav-bar ul li:hover span {
    color: #f79622;
}

.nav-bar ul li.active svg {
    transform: scale(1.12) translate3d(0, -1px, 0);
}

.nav-bar ul li:not(.active):hover svg {
    transform: scale(1.049) translate3d(0, -4px, 0);
}

.nav-bar ul li svg path {
    transition: all .4s;
}

.nav-bar ul li:hover svg path,
.nav-bar ul li.active svg path {
    fill: #f79622;
}

.nav-bar ul li {
    fill: #174996;
}

@media screen and (max-width: 400px) {
    .nav-bar svg {
        height: 1.5rem;
    }
    .nav-bar ul li span {
        font-size: .75rem;
        font-weight: 400;
        color: #174996;
    }
    .nav-bar ul li.active:after {
        transform: translate3d(0, -25%, 0);
    }
}

.btnRequestQutation {
    background-color: #a6a6a6;
    background: var(--action-gradient-primary);
    color: #fff;
    margin-right: 2rem;
    margin-top: 0.4rem;
    padding: .5rem 1rem;
    border-radius: 1rem;
    cursor: pointer;
    font-size: .7rem;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.collapse {
    visibility: visible!important;
}

/* ---------- Mobile Zoom Prevention ---------- */
html, body {
    touch-action: manipulation;
} 

/* Prevent double-tap to zoom on interactive elements on mobile */
a, button, input, select, textarea, label {
    touch-action: manipulation;
}

/* Prevent iOS Safari from auto-zooming on focus of form inputs */
@media screen and (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* ==========================================================================
   SweetAlert2 — ปรับให้เข้าธีมเว็บ (สีน้ำเงิน #174996 + ปุ่มขอบมน) แทนธีมม่วงเหลี่ยม default
   override เฉพาะในไฟล์นี้ ไม่ไปแก้ไฟล์ plugin ต้นทางของ sweetalert2 โดยตรง
   ========================================================================== */
.swal2-popup {
    border-radius: 22px !important;
    font-family: 'Noto Sans Thai', sans-serif;
    padding-bottom: 1.75rem !important;
}

.swal2-title {
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 1.35rem !important;
}

.swal2-html-container {
    color: #667085 !important;
    font-size: .95rem !important;
}

.swal2-actions {
    gap: .75rem;
}

.swal2-styled.swal2-confirm {
    background: #174996 !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    font-size: .92rem !important;
    padding: .65rem 1.9rem !important;
    box-shadow: 0 8px 18px rgba(23, 73, 150, .25) !important;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.swal2-styled.swal2-confirm:hover {
    background: #123a78 !important;
    box-shadow: 0 10px 22px rgba(23, 73, 150, .32) !important;
}

.swal2-styled.swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgba(23, 73, 150, .25) !important;
}

.swal2-styled.swal2-cancel {
    background: #f1f5f9 !important;
    color: #475467 !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    font-size: .92rem !important;
    padding: .65rem 1.9rem !important;
    box-shadow: none !important;
    transition: background-color .2s ease;
}

.swal2-styled.swal2-cancel:hover {
    background: #e2e8f0 !important;
}

.swal2-styled.swal2-cancel:focus {
    box-shadow: 0 0 0 3px rgba(71, 84, 103, .18) !important;
}

/* ปุ่มลบ/ยืนยันอันตราย (confirmButtonColor: '#d33') ให้ขอบมนตามธีมด้วยเช่นกัน แต่คงโทนแดงไว้เพื่อสื่อความหมาย */
.swal2-styled[style*="background-color: rgb(211, 51, 51)"],
.swal2-styled[style*="background-color: #d33"] {
    border-radius: 999px !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 18px rgba(211, 51, 51, .25) !important;
}

.swal2-icon {
    border-width: 2.5px !important;
}

.swal2-input,
.swal2-select,
.swal2-textarea {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}

.swal2-input:focus,
.swal2-select:focus,
.swal2-textarea:focus {
    border-color: #174996 !important;
    box-shadow: 0 0 0 3px rgba(23, 73, 150, .12) !important;
}

/* Toast (ใช้บ่อยกับ position: top-end ทั่วเว็บ) ให้ขอบมนเข้าชุดกันด้วย */
.swal2-toast {
    border-radius: 14px !important;
    box-shadow: 0 10px 26px rgba(20, 30, 60, .16) !important;
}

.swal2-toast .swal2-title {
    font-size: .92rem !important;
    font-weight: 600 !important;
}