/* f3e73dfa0a9ee390 */
/* ===================================================
   [1061] ACCT-09_Edit-Account-Styling
   ===================================================
   เป็น CSS ล้วนๆ ตกแต่งหน้า WooCommerce "Edit Account" มาตรฐาน (URL endpoint
   'edit-account') — หน้านี้ถูกลิงก์ไปจากการ์ด "แก้ไขชื่อ & รหัสผ่าน" ใน
   แท็บ overview ของ My Account (ไฟล์ 1537, 02-ACCOUNT-02-Tab-Overview)
   ไม่มี logic PHP ใดๆ แค่แต่งหน้าฟอร์มเดิมของ WooCommerce ให้สวยขึ้น
   =================================================== */

/* คลุมฟอร์มทั้งหมดให้อยู่ในกล่องสวยๆ */
.woocommerce-edit-account form.woocommerce-EditAccountForm.edit-account {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #f1f2f6;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Prompt', sans-serif;
    box-sizing: border-box;
}

/* ตกแต่ง Label (ป้ายกำกับช่องกรอก) */
.woocommerce-EditAccountForm label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #2d3436 !important;
    margin-bottom: 8px !important;
    display: inline-block;
}

/* ซ่อนดอกจันสีแดงที่ดูแข็งเกินไป (ถ้าต้องการโชว์ ให้ลบ 3 บรรทัดนี้ออก) */
.woocommerce-EditAccountForm label .required {
    color: #e74c3c !important;
    text-decoration: none !important;
}

/* ตกแต่งช่องกรอกข้อมูล (Inputs & Selects) */
.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"],
.woocommerce-EditAccountForm input[type="number"],
.woocommerce-EditAccountForm select {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #dfe4ea !important;
    border-radius: 12px !important;
    background: #fdfdfd !important;
    font-family: 'Prompt', sans-serif !important;
    font-size: 14px !important;
    color: #2d3436 !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

/* เอฟเฟกต์ตอนคลิกพิมพ์ (Focus) */
.woocommerce-EditAccountForm input:focus,
.woocommerce-EditAccountForm select:focus {
    border-color: #0984e3 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(9, 132, 227, 0.1) !important;
    outline: none !important;
}

/* กล่องข้อความอธิบาย (Description) ใต้ช่องกรอก */
.woocommerce-EditAccountForm em, 
.woocommerce-EditAccountForm span.description {
    font-size: 11px !important;
    color: #a4b0be !important;
    margin-top: 6px !important;
    display: block !important;
    font-style: normal !important;
}

/* ตกแต่งกล่องจัดกลุ่ม (Fieldset) เช่น เปลี่ยนรหัสผ่าน & ข้อมูลประชากร */
.woocommerce-EditAccountForm fieldset {
    background: #f8f9fa !important;
    border: 1px solid #f1f2f6 !important;
    border-radius: 16px !important;
    padding: 30px 20px 20px 20px !important;
    margin-top: 35px !important;
    margin-bottom: 25px !important;
    position: relative;
}

/* หัวข้อของ Fieldset (Legend) ดึงให้ลอยขึ้นไปบนเส้นขอบ */
.woocommerce-EditAccountForm fieldset legend {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0984e3 !important;
    background: #ffffff !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    border: 1px solid #f1f2f6 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
    position: absolute;
    top: -18px;
    left: 20px;
    margin: 0 !important;
    width: auto !important;
}

/* ปรับระยะห่างระหว่างช่องให้พอดี */
.woocommerce-EditAccountForm .form-row {
    margin-bottom: 20px !important;
}

/* ตกแต่งปุ่ม "บันทึกการเปลี่ยนแปลง" */
.woocommerce-EditAccountForm button[name="save_account_details"] {
    background: linear-gradient(135deg, #0984e3, #6c5ce7) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 30px !important;
    border-radius: 30px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    font-family: 'Prompt', sans-serif !important;
    cursor: pointer !important;
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(9, 132, 227, 0.3) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    margin-top: 15px !important;
}

.woocommerce-EditAccountForm button[name="save_account_details"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(9, 132, 227, 0.4) !important;
}

.woocommerce-EditAccountForm button[name="save_account_details"]:active {
    transform: translateY(1px) !important;
}
/* f3a397b0c8f74a76 */
/* ===================================================
   [680] ACCT-08_My-Account-Styling
   ===================================================
   🔧 แก้ 28 ก.ย. 2569 (G28_chat-11) · หน้าดูคำสั่งซื้อไม่ซ่อนบรรทัดสถานะแล้ว
   เดิมกฎข้อ 1 ซ่อน p / h2 / h3 ชั้นแรกของ .woocommerce-MyAccount-content ทุกหน้าย่อยของบัญชี
   หน้าดูคำสั่งซื้อ (view-order) จึงไม่มีบรรทัด "Order #… was placed on … and is currently …"
   และหัวข้อ "Order updates" (โน้ตทีมงานถึงลูกค้า) · สมาชิกไม่รู้ว่าออเดอร์อยู่สถานะไหน
   ตอนนี้ยกเว้นหน้าที่ body มีคลาส woocommerce-view-order (WooCommerce ใส่ให้หน้าย่อยเอง)
   หน้าอื่นซ่อนเหมือนเดิม (แดชบอร์ด · ประวัติคำสั่งซื้อ · ที่อยู่ ฯลฯ) · ม็อคอัพที่เจ้าของเว็บโอเค 18:59
   📌 ไฟล์ CSS ใส่แถวศูนย์เฝ้าระวังเองไม่ได้ (ยกเว้นตาม D16) · ตรวจด้วยตาที่หน้าดูคำสั่งซื้อจริง
   ===================================================
   🧹 ทำความสะอาด (2026-09-04): ลบ CSS ที่ยืนยันแล้วว่าไม่มีใครใช้ออก 3 จุด
   (ค้นทั้งเว็บ 236 snippet แล้วไม่มีไฟล์ไหนอื่นอ้างถึงคลาสเหล่านี้เลย):
   - .profile-hub-wrapper (ทั้ง 2 จุดที่เคยอยู่ใน section 1 และ 2) — ซากของ
     wrapper class เวอร์ชันเก่า ไม่มี HTML ไหนในเว็บใช้คลาสนี้เลย
   - ทั้ง section "3. แท็บเมนูสไตล์แอป" (.tms-app-tabs, .tms-tab-btn,
     .tms-tab-content, @keyframes fadeIn) — ซากของระบบแท็บเวอร์ชันเก่าก่อน
     ถูกแทนที่ด้วยไฟล์ 1324 (02-ACCOUNT-01-Tabs-Shell) ที่ใช้คลาสคนละชื่อ
     (.profile-tabs, .profile-tab-btn, .profile-tab-content) และมี
     @keyframes fadeIn ของตัวเองอยู่แล้ว (เช็คแล้วว่า 1324 ไม่ได้พึ่งพา
     @keyframes ชุดนี้เลย เป็นคนละชุดที่นิยามซ้ำกันเฉยๆ)
   - .settings-card / .settings-card-icon (เดิม section 5) — นิยามซ้ำกับที่
     มีอยู่แล้วในไฟล์ 1324 เอง (ค่าเดิมไม่ตรงกัน: ที่นี่เคยเป็น 2px dashed,
     ที่ 1324 ใช้ 1px solid) เช็คแล้วว่า HTML ที่ใช้คลาสนี้จริง (ไฟล์ 1537,
     แท็บ overview) render อยู่ภายใน 1324's tab shell เสมอ จึงมี CSS ของ
     1324 ครอบคลุมอยู่แล้วแน่นอน ไม่ต้องมีสำรองที่นี่อีก — เก็บของ 1324 ไว้
     เป็นตัวหลักตัวเดียว ลบตัวซ้ำที่นี่ทิ้ง

   ส่วนที่เหลือทั้งหมดยังใช้งานจริง:
   1-2: ซ่อนเมนู/ข้อความ WooCommerce เดิม + จัด flexbox ให้ tab shell (1324)
        วางเนื้อหาได้ถูกลำดับ
   4: ชุดสี .cute-blue/orange/purple/gold/green/pink — ใช้โดย shortcode
      อื่นๆ ในเว็บ (เช่น [my_wallet_dashboard] ที่ผูกกับแท็บ 1538)
   6: จัดตำแหน่ง/สไตล์ข้อความแจ้งเตือนของ WooCommerce ให้ลงมาอยู่ล่างสุด
   =================================================== */

/* 1. ซ่อนข้อความและเมนูของ WooCommerce ที่ไม่ได้ใช้ */
.woocommerce-MyAccount-navigation {
    display: none !important;
}
/* 🔧 28 ก.ย. ยกเว้นหน้าดูคำสั่งซื้อ (บรรทัดสถานะออเดอร์ + หัวข้อโน้ตทีมงาน ต้องเห็น) */
body:not(.woocommerce-view-order) .woocommerce-MyAccount-content > p,
body:not(.woocommerce-view-order) .woocommerce-MyAccount-content > h2,
body:not(.woocommerce-view-order) .woocommerce-MyAccount-content > h3 { 
    display: none !important; 
}

/* 2. จัดโครงสร้าง Flexbox ป้องกันแท็บกระโดดเวลาสลับหน้า */
.woocommerce-account .woocommerce,
.woocommerce-MyAccount-content {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    float: none !important;
}

/* 4. กล่องหมวดหมู่ต่างๆ นุ่มนวลน่ารัก */
.tms-wallet-section { 
    border-radius: 25px; 
    padding: 25px; 
    margin-bottom: 25px; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.03); 
}
.tms-wallet-section-title { 
    font-size: 18px !important; 
    font-weight: bold; 
    margin: 0 0 20px 0 !important; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    padding-bottom: 12px; 
}

/* 🎨 ธีมสีแยกตามหมวดหมู่ */
.cute-blue { background: #f6fcff; border: 2px solid #81ecec; }
.cute-blue .tms-wallet-section-title { color: #00cec9; border-bottom: 2px dashed #81ecec; }

.cute-orange { background: #fffaf6; border: 2px solid #fab1a0; }
.cute-orange .tms-wallet-section-title { color: #e17055; border-bottom: 2px dashed #fab1a0; }

.cute-purple { background: #fcf9ff; border: 2px solid #a29bfe; }
.cute-purple .tms-wallet-section-title { color: #6c5ce7; border-bottom: 2px dashed #a29bfe; }

.cute-gold { background: #fffdf5; border: 2px solid #ffeaa7; }
.cute-gold .tms-wallet-section-title { color: #fdcb6e; border-bottom: 2px dashed #ffeaa7; }

.cute-green { background: #f5fef9; border: 2px solid #55efc4; }
.cute-green .tms-wallet-section-title { color: #00b894; border-bottom: 2px dashed #55efc4; }

.cute-pink { background: #fff5fd; border: 2px solid #ff9ff3; }
.cute-pink .tms-wallet-section-title { color: #f368e0; border-bottom: 2px dashed #ff9ff3; }

/* 6. ย้ายการแจ้งเตือน WooCommerce (พวก Error/Success message) ลงไปด้านล่าง */
.woocommerce-notices-wrapper,
.woocommerce-info,
.woocommerce-message {
    order: 99 !important;
    margin-top: 25px !important;
    margin-bottom: 20px !important;
    border-radius: 15px !important;
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-left: 5px solid #0984e3 !important;
    font-size: 13px !important;
    color: #2d3436 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
}
.woocommerce-info .button,
.woocommerce-message .button {
    background: #0984e3 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    padding: 6px 16px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    border: none !important;
}
/* 50e6f2abf88aa6bc */
/* UI-Q · ปุ่ม ? แบบเดียวทั้งเว็บ (ลูกกลมทอง แบบการ์ดวอชเชอร์ .rds-q) · 2 พ.ย. 2569 · ปิด snippet นี้ = กลับแบบเดิม */
html body .tms-q,html body .tms-bg-q,html body .tms-help,html body .hv2-q,html body #tmsBso .hb[data-a="help"],
html body .tdl-q,html body .tbr-q,html body #tms-shop .pk4 .hd4 .pkq,html body .tms-hot-q{
width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;min-height:0!important;max-height:30px!important;
padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;background-image:none!important;
box-shadow:none!important;font-size:0!important;line-height:0!important;letter-spacing:0!important;color:transparent!important;text-shadow:none!important;
display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;cursor:pointer;
-webkit-tap-highlight-color:transparent;vertical-align:middle;transform:none!important;filter:none!important;overflow:visible!important}
html body .tms-q>*,html body .tms-bg-q>*,html body .tms-help>*,html body .hv2-q>*,html body #tmsBso .hb[data-a="help"]>*,
html body .tdl-q>*,html body .tbr-q>*,html body #tms-shop .pk4 .hd4 .pkq>*,html body .tms-hot-q>*{display:none!important}
html body .tms-q::before,html body .tms-bg-q::before,html body .tms-help::before,html body .hv2-q::before,html body #tmsBso .hb[data-a="help"]::before,
html body .tdl-q::before,html body .tbr-q::before,html body #tms-shop .pk4 .hd4 .pkq::before,html body .tms-hot-q::before{display:none!important}
html body .tms-q::after,html body .tms-bg-q::after,html body .tms-help::after,html body .hv2-q::after,html body #tmsBso .hb[data-a="help"]::after,
html body .tdl-q::after,html body .tbr-q::after,html body #tms-shop .pk4 .hd4 .pkq::after,html body .tms-hot-q::after{
content:"?"!important;display:flex!important;align-items:center!important;justify-content:center!important;position:static!important;
width:13px!important;height:13px!important;border-radius:50%!important;
background:radial-gradient(circle at 32% 28%,#fff3b0 0,#ffd43b 38%,#f59f00 100%)!important;
color:#5c3b00!important;font:700 9px/9px Prompt,"Sarabun",system-ui,sans-serif!important;
box-shadow:0 0 0 1.5px #fff,0 1px 4px rgba(0,0,0,.25)!important;border:0!important;opacity:1!important;margin:0!important;transform:none!important}
/* ในบรรทัดข้อความ: เดิมกว้าง 22px ให้กินที่เท่าเดิม */
html body .tms-q,html body .tms-bg-q,html body .tms-help{margin-top:-4px!important;margin-bottom:-4px!important}
html body #tmsBso .hb[data-a="help"]{margin:2px!important}
/* มุมขวาบนการ์ด: วางตำแหน่งเดียวกับการ์ดวอชเชอร์ */
html body .tdl-q,html body .tbr-q,html body #tms-shop .pk4 .hd4 .pkq,html body .tms-hot-q{
position:absolute!important;top:0!important;right:0!important;left:auto!important;bottom:auto!important;margin:0!important;
padding:5px!important;align-items:flex-start!important;justify-content:flex-end!important;border-radius:0!important;z-index:2!important}
html body .tms-q:focus-visible,html body .tms-bg-q:focus-visible,html body .tms-help:focus-visible,html body .hv2-q:focus-visible,
html body .tdl-q:focus-visible,html body .tbr-q:focus-visible,html body .pkq:focus-visible,html body .tms-hot-q:focus-visible,html body #tmsBso .hb[data-a="help"]:focus-visible{outline:2px solid #f59f00!important;outline-offset:-2px!important}

