Spaces:
Running
Running
File size: 63,280 Bytes
d38f61d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 | <!DOCTYPE html>
<html lang="th">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WP WELLNET - แพลตฟอร์มฟื้นฟูสุขภาพ</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<link href="https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
'health-green': '#10b981',
'health-blue': '#06b6d4',
'health-light': '#e0f2fe',
'health-dark': '#0f766e',
},
fontFamily: {
'thai': ['Prompt', 'sans-serif'],
},
}
}
}
</script>
<style>
* {
font-family: 'Prompt', sans-serif;
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}
.progress-bar {
background: linear-gradient(90deg, #10b981 0%, #06b6d4 100%);
transition: width 0.3s ease;
}
.health-card {
background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}
.chart-bar {
transition: height 0.5s ease;
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
.pulse-animation {
animation: pulse 2s infinite;
}
.scroll-hidden::-webkit-scrollbar {
display: none;
}
.scroll-hidden {
-ms-overflow-style: none;
scrollbar-width: none;
}
</style>
</head>
<body class="bg-gray-50 font-thai">
<!-- Header -->
<header class="bg-white shadow-sm sticky top-0 z-50">
<div class="px-4 py-3 flex items-center justify-between">
<div class="flex items-center space-x-2">
<div class="w-10 h-10 bg-gradient-to-r from-health-green to-health-blue rounded-lg flex items-center justify-center">
<span class="text-white font-bold text-sm">WP</span>
</div>
<span class="font-semibold text-gray-800">WELLNET</span>
</div>
<div class="flex items-center space-x-3">
<button class="relative p-2 rounded-full hover:bg-gray-100 transition">
<i data-feather="bell" class="w-5 h-5 text-gray-600"></i>
<span class="absolute top-1 right-1 w-2 h-2 bg-red-500 rounded-full"></span>
</button>
<button class="w-10 h-10 rounded-full overflow-hidden hover:ring-2 hover:ring-health-blue transition">
<img src="https://static.photos/people/100x100/85" alt="Profile" class="w-full h-full object-cover">
</button>
</div>
</div>
</header>
<!-- Main Content -->
<main class="pb-20">
<!-- Tab 1: Dashboard -->
<div id="tab1" class="tab-content active px-4 py-6 space-y-6">
<!-- Welcome Message -->
<div class="bg-gradient-to-r from-health-green to-health-blue text-white rounded-2xl p-6">
<h1 class="text-xl font-semibold mb-2">ยินดีต้อนรับกลับ!</h1>
<p class="text-sm opacity-90">คุณอยู่ในแผนฟื้นฟู: 30-Day Restore Plan</p>
<div class="mt-3 flex items-center space-x-4">
<div class="flex-1 bg-white/20 rounded-full h-2">
<div class="bg-white rounded-full h-2" style="width: 40%"></div>
</div>
<span class="text-xs">วันที่ 12/30</span>
</div>
</div>
<!-- Today's Goals -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h2 class="font-semibold text-gray-800 mb-4 flex items-center">
<i data-feather="target" class="w-4 h-4 mr-2 text-health-green"></i>
เป้าหมายวันนี้
</h2>
<div class="space-y-3">
<div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
<div class="flex items-center space-x-3">
<span class="text-2xl">🧬</span>
<div>
<p class="text-sm font-medium">HRV</p>
<p class="text-xs text-gray-500">ค่าปกติ 60-100</p>
</div>
</div>
<span class="text-lg font-semibold text-health-green">62/100</span>
</div>
<div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
<div class="flex items-center space-x-3">
<span class="text-2xl">🔴</span>
<div>
<p class="text-sm font-medium">ความดัน</p>
<p class="text-xs text-gray-500">เป้าหมาย <125/80</p>
</div>
</div>
<div class="text-right">
<span class="text-lg font-semibold text-orange-500">134/90</span>
<i data-feather="trending-down" class="w-3 h-3 inline text-health-green"></i>
</div>
</div>
<div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
<div class="flex items-center space-x-3">
<span class="text-2xl">⚖️</span>
<div>
<p class="text-sm font-medium">น้ำหนัก</p>
<p class="text-xs text-gray-500">เป้าหมาย 70 กก.</p>
</div>
</div>
<span class="text-lg font-semibold text-gray-700">71.2 กก.</span>
</div>
<div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
<div class="flex items-center space-x-3">
<span class="text-2xl">🧪</span>
<div>
<p class="text-sm font-medium">pH ปัสสาวะ</p>
<p class="text-xs text-gray-500">เป้าหมาย 6.8</p>
</div>
</div>
<div class="text-right">
<span class="text-lg font-semibold text-red-500">5.5</span>
<span class="text-xs text-gray-500 ml-1">(กรด)</span>
</div>
</div>
</div>
</div>
<!-- Supplement Status -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h2 class="font-semibold text-gray-800 mb-4 flex items-center">
<i data-feather="package" class="w-4 h-4 mr-2 text-health-blue"></i>
สถานะอาหารเสริมวันนี้
</h2>
<div class="space-y-3">
<div class="flex items-center justify-between p-3 bg-green-50 rounded-lg border border-green-200">
<div class="flex items-center space-x-3">
<div class="w-8 h-8 bg-green-500 rounded-full flex items-center justify-center">
<i data-feather="check" class="w-4 h-4 text-white"></i>
</div>
<div>
<p class="text-sm font-medium">BS</p>
<p class="text-xs text-gray-500">รับประทานแล้ว (07:30)</p>
</div>
</div>
<span class="text-xs bg-green-100 text-green-700 px-2 py-1 rounded-full">เช้า</span>
</div>
<div class="flex items-center justify-between p-3 bg-green-50 rounded-lg border border-green-200">
<div class="flex items-center space-x-3">
<div class="w-8 h-8 bg-green-500 rounded-full flex items-center justify-center">
<i data-feather="check" class="w-4 h-4 text-white"></i>
</div>
<div>
<p class="text-sm font-medium">LS</p>
<p class="text-xs text-gray-500">รับประทานแล้ว (12:15)</p>
</div>
</div>
<span class="text-xs bg-green-100 text-green-700 px-2 py-1 rounded-full">กลางวัน</span>
</div>
<div class="flex items-center justify-between p-3 bg-red-50 rounded-lg border border-red-200 pulse-animation">
<div class="flex items-center space-x-3">
<div class="w-8 h-8 bg-red-500 rounded-full flex items-center justify-center">
<i data-feather="x" class="w-4 h-4 text-white"></i>
</div>
<div>
<p class="text-sm font-medium">PHK</p>
<p class="text-xs text-red-600">ยังไม่ได้รับประทาน!</p>
</div>
</div>
<span class="text-xs bg-red-100 text-red-700 px-2 py-1 rounded-full">เย็น</span>
</div>
</div>
</div>
<!-- 30-Day Progress -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h2 class="font-semibold text-gray-800 mb-4">ความคืบหน้า 30 วัน</h2>
<div class="relative h-32 bg-gray-100 rounded-lg overflow-hidden">
<div class="absolute bottom-0 left-0 right-0 flex items-end justify-around h-full pb-2">
<div class="chart-bar w-2 bg-gray-300 rounded-t" style="height: 30%"></div>
<div class="chart-bar w-2 bg-gray-300 rounded-t" style="height: 45%"></div>
<div class="chart-bar w-2 bg-gray-300 rounded-t" style="height: 50%"></div>
<div class="chart-bar w-2 bg-gray-300 rounded-t" style="height: 60%"></div>
<div class="chart-bar w-2 bg-gray-300 rounded-t" style="height: 55%"></div>
<div class="chart-bar w-2 bg-gray-300 rounded-t" style="height: 65%"></div>
<div class="chart-bar w-2 bg-gray-300 rounded-t" style="height: 70%"></div>
<div class="chart-bar w-2 bg-gray-300 rounded-t" style="height: 75%"></div>
<div class="chart-bar w-2 bg-gray-300 rounded-t" style="height: 80%"></div>
<div class="chart-bar w-2 bg-gray-300 rounded-t" style="height: 78%"></div>
<div class="chart-bar w-2 bg-gray-300 rounded-t" style="height: 82%"></div>
<div class="chart-bar w-2 bg-health-green rounded-t" style="height: 85%"></div>
</div>
</div>
<div class="mt-3 flex justify-between text-xs text-gray-500">
<span>วันที่ 1</span>
<span class="font-semibold text-health-green">40% เสร็จสิ้น</span>
<span>วันที่ 30</span>
</div>
</div>
</div>
<!-- Tab 2: Today's Health -->
<div id="tab2" class="tab-content px-4 py-6 space-y-6">
<div class="text-center mb-6">
<h1 class="text-2xl font-bold text-gray-800">สุขภาพของฉันวันนี้</h1>
<p class="text-sm text-gray-500 mt-1">วันที่ 12 ธันวาคม 2567</p>
</div>
<!-- Smart Band Data -->
<div class="bg-gradient-to-br from-health-blue to-health-green text-white rounded-2xl p-6">
<h2 class="text-lg font-semibold mb-4">ข้อมูลจาก Smart Band & MyScale</h2>
<div class="grid grid-cols-2 gap-4">
<div class="bg-white/20 backdrop-blur rounded-lg p-3">
<div class="flex items-center space-x-2 mb-1">
<i data-feather="moon" class="w-4 h-4"></i>
<span class="text-xs">การนอน</span>
</div>
<p class="text-xl font-bold">6.3 ชม.</p>
<p class="text-xs opacity-90">คุณภาพ: ปานกลาง</p>
</div>
<div class="bg-white/20 backdrop-blur rounded-lg p-3">
<div class="flex items-center space-x-2 mb-1">
<i data-feather="heart" class="w-4 h-4"></i>
<span class="text-xs">Heart Rate</span>
</div>
<p class="text-xl font-bold">82 bpm</p>
<p class="text-xs text-yellow-200">สูง</p>
</div>
<div class="bg-white/20 backdrop-blur rounded-lg p-3">
<div class="flex items-center space-x-2 mb-1">
<i data-feather="activity" class="w-4 h-4"></i>
<span class="text-xs">HRV</span>
</div>
<p class="text-xl font-bold">61 ms</p>
<p class="text-xs opacity-90">ปกติ</p>
</div>
<div class="bg-white/20 backdrop-blur rounded-lg p-3">
<div class="flex items-center space-x-2 mb-1">
<i data-feather="zap" class="w-4 h-4"></i>
<span class="text-xs">Stress Index</span>
</div>
<p class="text-xl font-bold">78</p>
<p class="text-xs text-red-200">สูง</p>
</div>
</div>
</div>
<!-- Health Score -->
<div class="bg-white rounded-xl p-6 shadow-sm text-center">
<div class="relative inline-block">
<svg class="w-32 h-32 transform -rotate-90">
<circle cx="64" cy="64" r="56" stroke="#e5e7eb" stroke-width="12" fill="none"></circle>
<circle cx="64" cy="64" r="56" stroke="url(#gradient)" stroke-width="12" fill="none"
stroke-dasharray="351.86" stroke-dashoffset="112.6" stroke-linecap="round"></circle>
<defs>
<linearGradient id="gradient" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#10b981"></stop>
<stop offset="100%" stop-color="#06b6d4"></stop>
</linearGradient>
</defs>
</svg>
<div class="absolute inset-0 flex flex-col items-center justify-center">
<span class="text-3xl font-bold text-gray-800">68</span>
<span class="text-xs text-gray-500">/ 100</span>
</div>
</div>
<h3 class="text-lg font-semibold text-gray-800 mt-4">คะแนนสุขภาพวันนี้</h3>
<p class="text-sm text-gray-500 mt-1">อยู่ในเกณฑ์ดี สามารถปรับปรุงได้</p>
</div>
<!-- Recommendations -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h2 class="font-semibold text-gray-800 mb-4 flex items-center">
<i data-feather="info" class="w-4 h-4 mr-2 text-health-blue"></i>
คำแนะนำสำหรับวันนี้
</h2>
<div class="space-y-3">
<div class="flex items-start space-x-3">
<div class="w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center flex-shrink-0">
<i data-feather="droplet" class="w-4 h-4 text-blue-600"></i>
</div>
<div class="flex-1">
<p class="text-sm font-medium text-gray-800">ดื่มน้ำมากขึ้น</p>
<p class="text-xs text-gray-500">เป้าหมาย 2.5 ลิตร ตอนนี้ดื่มไป 1.2 ลิตร</p>
</div>
</div>
<div class="flex items-start space-x-3">
<div class="w-8 h-8 bg-green-100 rounded-full flex items-center justify-center flex-shrink-0">
<i data-feather="trending-up" class="w-4 h-4 text-green-600"></i>
</div>
<div class="flex-1">
<p class="text-sm font-medium text-gray-800">เดินเพิ่มอีก</p>
<p class="text-xs text-gray-500">เป้าหมาย 6,000 ก้าว ตอนนี้เดินไป 3,247 ก้าว</p>
</div>
</div>
<div class="flex items-start space-x-3">
<div class="w-8 h-8 bg-orange-100 rounded-full flex items-center justify-center flex-shrink-0">
<i data-feather="coffee" class="w-4 h-4 text-orange-600"></i>
</div>
<div class="flex-1">
<p class="text-sm font-medium text-gray-800">หลีกเลี่ยงคาเฟอีน</p>
<p class="text-xs text-gray-500">Stress Index สูง ควรหลีกเลี่ยงเครื่องดื่มกระตุ้น</p>
</div>
</div>
</div>
</div>
</div>
<!-- Tab 3: 30-Day Recovery Plan -->
<div id="tab3" class="tab-content px-4 py-6 space-y-6">
<div class="text-center mb-6">
<h1 class="text-2xl font-bold text-gray-800">แผนการฟื้นฟู 30 วัน</h1>
<p class="text-sm text-gray-500 mt-1">วันที่ 12 ธันวาคม 2567</p>
</div>
<!-- Progress Overview -->
<div class="bg-gradient-to-r from-health-green to-health-blue text-white rounded-2xl p-6">
<div class="flex justify-between items-center mb-3">
<h2 class="text-lg font-semibold">ความคืบหน้าทั้งหมด</h2>
<span class="bg-white/20 px-3 py-1 rounded-full text-sm">10/12 วัน</span>
</div>
<div class="bg-white/20 rounded-full h-3">
<div class="bg-white rounded-full h-3" style="width: 83%"></div>
</div>
<p class="text-sm mt-3 opacity-90">สำเร็จ 83% ของภารกิจที่กำหนด</p>
</div>
<!-- Today's Tasks -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h2 class="font-semibold text-gray-800 mb-4 flex items-center">
<i data-feather="check-square" class="w-4 h-4 mr-2 text-health-green"></i>
ภารกิจวันนี้
</h2>
<div class="space-y-3">
<div class="flex items-center justify-between p-3 bg-green-50 rounded-lg border border-green-200">
<div class="flex items-center space-x-3">
<span class="text-sm font-medium text-gray-600">08:00</span>
<div class="flex-1">
<p class="text-sm font-medium text-gray-800">กิน BS 1 เม็ด</p>
<p class="text-xs text-gray-500">หลังอาหารเช้า</p>
</div>
</div>
<div class="w-6 h-6 bg-green-500 rounded-full flex items-center justify-center">
<i data-feather="check" class="w-4 h-4 text-white"></i>
</div>
</div>
<div class="flex items-center justify-between p-3 bg-green-50 rounded-lg border border-green-200">
<div class="flex items-center space-x-3">
<span class="text-sm font-medium text-gray-600">12:00</span>
<div class="flex-1">
<p class="text-sm font-medium text-gray-800">ดื่มน้ำ 1 ลิตร + LS</p>
<p class="text-xs text-gray-500">ก่อนอาหารกลางวัน</p>
</div>
</div>
<div class="w-6 h-6 bg-green-500 rounded-full flex items-center justify-center">
<i data-feather="check" class="w-4 h-4 text-white"></i>
</div>
</div>
<div class="flex items-center justify-between p-3 bg-red-50 rounded-lg border border-red-200">
<div class="flex items-center space-x-3">
<span class="text-sm font-medium text-gray-600">18:00</span>
<div class="flex-1">
<p class="text-sm font-medium text-gray-800">ทาน PHK ก่อนอาหาร</p>
<p class="text-xs text-red-600">ยังไม่ทำ!</p>
</div>
</div>
<div class="w-6 h-6 bg-gray-300 rounded-full flex items-center justify-center">
<i data-feather="clock" class="w-4 h-4 text-white"></i>
</div>
</div>
<div class="flex items-center justify-between p-3 bg-green-50 rounded-lg border border-green-200">
<div class="flex items-center space-x-3">
<span class="text-sm font-medium text-gray-600">All Day</span>
<div class="flex-1">
<p class="text-sm font-medium text-gray-800">เดินให้ครบ 5,000 ก้าว</p>
<p class="text-xs text-green-600">สำเร็จ 5,247 ก้าว</p>
</div>
</div>
<div class="w-6 h-6 bg-green-500 rounded-full flex items-center justify-center">
<i data-feather="check" class="w-4 h-4 text-white"></i>
</div>
</div>
<div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg border border-gray-200">
<div class="flex items-center space-x-3">
<span class="text-sm font-medium text-gray-600">Before bed</span>
<div class="flex-1">
<p class="text-sm font-medium text-gray-800">วัด HRV ก่อนนอน</p>
<p class="text-xs text-gray-500">รอดำเนินการ</p>
</div>
</div>
<div class="w-6 h-6 bg-gray-300 rounded-full flex items-center justify-center">
<i data-feather="clock" class="w-4 h-4 text-white"></i>
</div>
</div>
</div>
</div>
<!-- Weekly Chart -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h2 class="font-semibold text-gray-800 mb-4">สถิติ 7 วันล่าสุด</h2>
<div class="space-y-3">
<div>
<div class="flex justify-between text-xs text-gray-500 mb-1">
<span>ความสำเร็จภารกิจ</span>
<span>83%</span>
</div>
<div class="flex space-x-1">
<div class="flex-1 bg-green-500 h-2 rounded"></div>
<div class="flex-1 bg-green-500 h-2 rounded"></div>
<div class="flex-1 bg-green-500 h-2 rounded"></div>
<div class="flex-1 bg-green-500 h-2 rounded"></div>
<div class="flex-1 bg-yellow-500 h-2 rounded"></div>
<div class="flex-1 bg-green-500 h-2 rounded"></div>
<div class="flex-1 bg-green-500 h-2 rounded"></div>
</div>
</div>
</div>
</div>
</div>
<!-- Tab 4: Recovery Products -->
<div id="tab4" class="tab-content px-4 py-6 space-y-6">
<div class="text-center mb-6">
<h1 class="text-2xl font-bold text-gray-800">ผลิตภัณฑ์ฟื้นฟูสุขภาพ</h1>
<p class="text-sm text-gray-500 mt-1">แนะนำสำหรับคุณโดยเฉพาะ</p>
</div>
<!-- Product Pack 1 -->
<div class="bg-white rounded-xl shadow-sm overflow-hidden">
<div class="bg-gradient-to-r from-red-500 to-pink-500 p-4">
<h3 class="text-white font-semibold text-lg">📦 แพ็ก 1: Deep Blood Flow</h3>
</div>
<div class="p-4">
<ul class="space-y-2 mb-4">
<li class="flex items-center text-sm text-gray-700">
<i data-feather="check-circle" class="w-4 h-4 text-green-500 mr-2"></i>
BS 30 เม็ด
</li>
<li class="flex items-center text-sm text-gray-700">
<i data-feather="check-circle" class="w-4 h-4 text-green-500 mr-2"></i>
เหมาะสำหรับ: ความดันสูง, ชาเท้า
</li>
<li class="flex items-center text-sm text-gray-700">
<i data-feather="check-circle" class="w-4 h-4 text-green-500 mr-2"></i>
ปรับปรุงการไหลเวียนโลหิต
</li>
</ul>
<div class="flex items-center justify-between">
<div>
<p class="text-2xl font-bold text-gray-800">990 บ.</p>
<p class="text-xs text-gray-500 line-through">1,290 บ.</p>
</div>
<button class="bg-health-green text-white px-6 py-2 rounded-lg font-medium hover:bg-green-600 transition">
เพิ่มลงตะกร้า
</button>
</div>
</div>
</div>
<!-- Product Pack 2 -->
<div class="bg-white rounded-xl shadow-sm overflow-hidden">
<div class="bg-gradient-to-r from-blue-500 to-cyan-500 p-4">
<h3 class="text-white font-semibold text-lg">📦 แพ็ก 2: Detox + Recovery</h3>
</div>
<div class="p-4">
<ul class="space-y-2 mb-4">
<li class="flex items-center text-sm text-gray-700">
<i data-feather="check-circle" class="w-4 h-4 text-green-500 mr-2"></i>
LS + PHK ครบเซ็ต
</li>
<li class="flex items-center text-sm text-gray-700">
<i data-feather="check-circle" class="w-4 h-4 text-green-500 mr-2"></i>
ล้างพิษ + ปรับสมดุลเลือด
</li>
<li class="flex items-center text-sm text-gray-700">
<i data-feather="check-circle" class="w-4 h-4 text-green-500 mr-2"></i>
ฟื้นฟูระบบขับถ่าย
</li>
</ul>
<div class="flex items-center justify-between">
<div>
<p class="text-2xl font-bold text-gray-800">1,290 บ.</p>
<p class="text-xs text-red-500">ลดพิเศษ -23%</p>
</div>
<button class="bg-health-blue text-white px-6 py-2 rounded-lg font-medium hover:bg-blue-600 transition">
ซื้อซ้ำ
</button>
</div>
</div>
</div>
<!-- Product Pack 3 -->
<div class="bg-white rounded-xl shadow-sm overflow-hidden">
<div class="bg-gradient-to-r from-green-500 to-teal-500 p-4">
<h3 class="text-white font-semibold text-lg">📦 แพ็ก 3: 30-Day Full Plan</h3>
</div>
<div class="p-4">
<ul class="space-y-2 mb-4">
<li class="flex items-center text-sm text-gray-700">
<i data-feather="check-circle" class="w-4 h-4 text-green-500 mr-2"></i>
BS + LS + PHK ครบเซ็ต
</li>
<li class="flex items-center text-sm text-gray-700">
<i data-feather="check-circle" class="w-4 h-4 text-green-500 mr-2"></i>
คู่มือ Meal Plan 30 วัน
</li>
<li class="flex items-center text-sm text-gray-700">
<i data-feather="check-circle" class="w-4 h-4 text-green-500 mr-2"></i>
ปรึกษาโค้ช 2 ครั้ง
</li>
</ul>
<div class="flex items-center justify-between">
<div>
<p class="text-2xl font-bold text-gray-800">2,790 บ.</p>
<p class="text-xs text-green-600">Subscription ลด 20%</p>
</div>
<button class="bg-gradient-to-r from-green-500 to-teal-500 text-white px-6 py-2 rounded-lg font-medium hover:opacity-90 transition">
สมัครแบบรายเดือน
</button>
</div>
</div>
</div>
<!-- Special Offer -->
<div class="bg-gradient-to-r from-purple-500 to-indigo-500 text-white rounded-xl p-4">
<div class="flex items-center justify-between">
<div>
<h4 class="font-semibold">🎁 ข้อเสนอพิเศษ!</h4>
<p class="text-sm opacity-90 mt-1">ซื้อครบ 2,500 บ. จัดส่งฟรี!</p>
</div>
<span class="bg-white/20 px-3 py-1 rounded-full text-sm">จำกัดเวลา</span>
</div>
</div>
</div>
<!-- Tab 5: Historical Results -->
<div id="tab5" class="tab-content px-4 py-6 space-y-6">
<div class="text-center mb-6">
<h1 class="text-2xl font-bold text-gray-800">ผลลัพธ์ย้อนหลัง</h1>
<p class="text-sm text-gray-500 mt-1">ติดตามความก้าวหน้าของคุณ</p>
</div>
<!-- Time Range Selector -->
<div class="flex justify-center space-x-2">
<button class="px-4 py-2 bg-gray-200 text-gray-600 rounded-lg text-sm font-medium">7 วัน</button>
<button class="px-4 py-2 bg-gray-200 text-gray-600 rounded-lg text-sm font-medium">14 วัน</button>
<button class="px-4 py-2 bg-health-green text-white rounded-lg text-sm font-medium">30 วัน</button>
</div>
<!-- HRV Chart -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h3 class="font-semibold text-gray-800 mb-4">HRV (ms)</h3>
<div class="relative h-32 bg-gray-50 rounded-lg p-2">
<svg class="w-full h-full">
<polyline points="0,100 20,95 40,90 60,85 80,75 100,70 120,72 140,68 160,65 180,60 200,58 220,55 240,52 260,50 280,48 300,45"
fill="none" stroke="#10b981" stroke-width="2"></polyline>
</svg>
</div>
<div class="mt-3 flex justify-between text-xs text-gray-500">
<span>48 ms</span>
<span class="text-health-green font-medium">↑ 27%</span>
<span>61 ms</span>
</div>
</div>
<!-- Blood Pressure Chart -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h3 class="font-semibold text-gray-800 mb-4">ความดันโลหิต (Systolic)</h3>
<div class="relative h-32 bg-gray-50 rounded-lg p-2">
<svg class="w-full h-full">
<polyline points="0,20 20,25 40,28 60,35 80,40 100,42 120,45 140,48 160,50 180,52 200,55 220,58 240,60 260,62 280,65 300,68"
fill="none" stroke="#ef4444" stroke-width="2"></polyline>
</svg>
</div>
<div class="mt-3 flex justify-between text-xs text-gray-500">
<span>145</span>
<span class="text-health-green font-medium">↓ 12%</span>
<span>128</span>
</div>
</div>
<!-- Weight Progress -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h3 class="font-semibold text-gray-800 mb-4">น้ำหนัก (กก.)</h3>
<div class="flex items-center justify-between">
<div class="text-center">
<p class="text-2xl font-bold text-gray-400">72.4</p>
<p class="text-xs text-gray-500">เริ่มต้น</p>
</div>
<div class="flex-1 mx-4">
<div class="bg-gray-200 rounded-full h-3 relative">
<div class="progress-bar bg-gradient-to-r from-health-green to-health-blue rounded-full h-3" style="width: 65%"></div>
</div>
</div>
<div class="text-center">
<p class="text-2xl font-bold text-health-green">71.2</p>
<p class="text-xs text-gray-500">ปัจจุบัน</p>
</div>
</div>
<p class="text-center text-sm text-green-600 mt-2 font-medium">ลดลง 1.2 กก. ✨</p>
</div>
<!-- pH Level -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h3 class="font-semibold text-gray-800 mb-4">pH ปัสสาวะ</h3>
<div class="flex items-center justify-between">
<div class="text-center">
<p class="text-2xl font-bold text-red-500">5.1</p>
<p class="text-xs text-gray-500">เริ่มต้น</p>
</div>
<div class="flex-1 mx-4">
<div class="bg-gradient-to-r from-red-500 via-yellow-500 to-green-500 rounded-full h-3 relative">
<div class="absolute w-3 h-3 bg-white border-2 border-gray-800 rounded-full" style="left: 75%; top: -2px"></div>
</div>
</div>
<div class="text-center">
<p class="text-2xl font-bold text-yellow-500">6.6</p>
<p class="text-xs text-gray-500">ปัจจุบัน</p>
</div>
</div>
<p class="text-center text-sm text-yellow-600 mt-2 font-medium">ดีขึ้นมาก ใกล้เป้าหมาย! 🎯</p>
</div>
<!-- Summary -->
<div class="bg-gradient-to-r from-health-green to-health-blue text-white rounded-xl p-4">
<h3 class="font-semibold mb-2">สรุป 30 วัน</h3>
<div class="space-y-1 text-sm">
<p>✅ HRV ดีขึ้น 27%</p>
<p>✅ ความดันลดลง 12%</p>
<p>✅ น้ำหนักลด 1.2 กก.</p>
<p>🎯 pH เข้าใกล้เป้าหมาย</p>
</div>
</div>
</div>
<!-- Tab 6: Your Consultant -->
<div id="tab6" class="tab-content px-4 py-6 space-y-6">
<div class="text-center mb-6">
<h1 class="text-2xl font-bold text-gray-800">ที่ปรึกษาของคุณ</h1>
<p class="text-sm text-gray-500 mt-1">ผู้เชี่ยวชาญดูแลสุขภาพของคุณ</p>
</div>
<!-- Consultant Profile -->
<div class="bg-white rounded-xl shadow-sm overflow-hidden">
<div class="bg-gradient-to-r from-health-green to-health-blue p-6 text-center">
<div class="w-24 h-24 mx-auto rounded-full overflow-hidden border-4 border-white mb-3">
<img src="https://static.photos/people/200x200/90" alt="Consultant" class="w-full h-full object-cover">
</div>
<h3 class="text-xl font-semibold text-white">กัลยาณี สุขใจดี</h3>
<p class="text-white/90 text-sm">Certified Wellness Consultant</p>
</div>
<div class="p-4">
<div class="grid grid-cols-2 gap-3 mb-4">
<div class="text-center p-3 bg-gray-50 rounded-lg">
<i data-feather="award" class="w-6 h-6 mx-auto text-health-green mb-1"></i>
<p class="text-xs text-gray-500">ระดับ</p>
<p class="text-sm font-semibold">WP-CWC</p>
</div>
<div class="text-center p-3 bg-gray-50 rounded-lg">
<i data-feather="users" class="w-6 h-6 mx-auto text-health-blue mb-1"></i>
<p class="text-xs text-gray-500">ดูแลผู้ใช้</p>
<p class="text-sm font-semibold">57 คน</p>
</div>
</div>
<div class="space-y-3 text-sm">
<div class="flex items-center space-x-2">
<i data-feather="calendar" class="w-4 h-4 text-gray-500"></i>
<span class="text-gray-700">นัด Video Call ได้ทุกพฤหัสบดี</span>
</div>
<div class="flex items-center space-x-2">
<i data-feather="clock" class="w-4 h-4 text-gray-500"></i>
<span class="text-gray-700">ตอบกลับภายใน 2 ชม.</span>
</div>
<div class="flex items-center space-x-2">
<i data-feather="star" class="w-4 h-4 text-yellow-500"></i>
<span class="text-gray-700">คะแนน: 4.9/5.0 (23 รีวิว)</span>
</div>
</div>
</div>
</div>
<!-- Contact Options -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h3 class="font-semibold text-gray-800 mb-4">ติดต่อที่ปรึกษา</h3>
<div class="space-y-3">
<button class="w-full flex items-center justify-between p-3 bg-green-50 rounded-lg border border-green-200 hover:bg-green-100 transition">
<div class="flex items-center space-x-3">
<i data-feather="message-circle" class="w-5 h-5 text-green-600"></i>
<span class="text-sm font-medium text-gray-800">แชททาง LINE</span>
</div>
<span class="text-xs bg-green-100 text-green-700 px-2 py-1 rounded-full">Online</span>
</button>
<button class="w-full flex items-center justify-between p-3 bg-blue-50 rounded-lg border border-blue-200 hover:bg-blue-100 transition">
<div class="flex items-center space-x-3">
<i data-feather="send" class="w-5 h-5 text-blue-600"></i>
<span class="text-sm font-medium text-gray-800">ส่งรายงานสุขภาพ</span>
</div>
<i data-feather="chevron-right" class="w-4 h-4 text-gray-400"></i>
</button>
<button class="w-full flex items-center justify-between p-3 bg-purple-50 rounded-lg border border-purple-200 hover:bg-purple-100 transition">
<div class="flex items-center space-x-3">
<i data-feather="video" class="w-5 h-5 text-purple-600"></i>
<span class="text-sm font-medium text-gray-800">นัด Video Call</span>
</div>
<i data-feather="chevron-right" class="w-4 h-4 text-gray-400"></i>
</button>
</div>
</div>
<!-- Recent Messages -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h3 class="font-semibold text-gray-800 mb-4">ข้อความล่าสุด</h3>
<div class="space-y-3">
<div class="flex space-x-3">
<div class="w-8 h-8 bg-green-100 rounded-full flex items-center justify-center flex-shrink-0">
<span class="text-xs font-semibold text-green-600">ก</span>
</div>
<div class="flex-1">
<p class="text-sm text-gray-700">สวัสดีครับ ผลการวัดวันนี้ HRV ดีขึ้นนะครับ แนะนำให้ดื่มน้ำเพิ่มครับ</p>
<p class="text-xs text-gray-500 mt-1">2 ชม.ที่แล้ว</p>
</div>
</div>
<div class="flex space-x-3">
<div class="w-8 h-8 bg-blue-500 rounded-full flex items-center justify-center flex-shrink-0">
<span class="text-xs font-semibold text-white">ฉ</span>
</div>
<div class="flex-1">
<p class="text-sm text-gray-700">ขอบคุณครับ วันนี้จะพยายามดื่มน้ำให้ครบ 2.5 ลิตรครับ</p>
<p class="text-xs text-gray-500 mt-1">1 ชม.ที่แล้ว</p>
</div>
</div>
</div>
</div>
</div>
<!-- Tab 7: Mission & Rewards -->
<div id="tab7" class="tab-content px-4 py-6 space-y-6">
<div class="text-center mb-6">
<h1 class="text-2xl font-bold text-gray-800">ระบบภารกิจ & รางวัล</h1>
<p class="text-sm text-gray-500 mt-1">สะสมแต้มรับรางวัล</p>
</div>
<!-- WP Coin Summary -->
<div class="bg-gradient-to-r from-yellow-400 to-orange-500 text-white rounded-xl p-6">
<div class="text-center">
<p class="text-sm opacity-90 mb-2">WP Coin ที่สะสม</p>
<p class="text-4xl font-bold mb-3">415</p>
<div class="flex justify-center space-x-4 text-sm">
<div>
<p class="opacity-90">วันนี้ได้</p>
<p class="font-semibold">+12</p>
</div>
<div class="w-px bg-white/30"></div>
<div>
<p class="opacity-90">อันดับ</p>
<p class="font-semibold">#42</p>
</div>
</div>
</div>
</div>
<!-- Daily Missions -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h3 class="font-semibold text-gray-800 mb-4 flex items-center">
<i data-feather="target" class="w-4 h-4 mr-2 text-health-green"></i>
ภารกิจประจำวัน
</h3>
<div class="space-y-3">
<div class="flex items-center justify-between p-3 bg-green-50 rounded-lg">
<div class="flex items-center space-x-3">
<div class="w-8 h-8 bg-green-500 rounded-full flex items-center justify-center">
<i data-feather="check" class="w-4 h-4 text-white"></i>
</div>
<div>
<p class="text-sm font-medium text-gray-800">วัด HRV</p>
<p class="text-xs text-gray-500">ได้ 3 แต้ม</p>
</div>
</div>
<span class="text-sm font-semibold text-green-600">✅</span>
</div>
<div class="flex items-center justify-between p-3 bg-green-50 rounded-lg">
<div class="flex items-center space-x-3">
<div class="w-8 h-8 bg-green-500 rounded-full flex items-center justify-center">
<i data-feather="check" class="w-4 h-4 text-white"></i>
</div>
<div>
<p class="text-sm font-medium text-gray-800">กินผลิตภัณฑ์ครบ</p>
<p class="text-xs text-gray-500">ได้ 5 แต้ม</p>
</div>
</div>
<span class="text-sm font-semibold text-green-600">✅</span>
</div>
<div class="flex items-center justify-between p-3 bg-gray-50 rounded-lg">
<div class="flex items-center space-x-3">
<div class="w-8 h-8 bg-gray-300 rounded-full flex items-center justify-center">
<i data-feather="clock" class="w-4 h-4 text-white"></i>
</div>
<div>
<p class="text-sm font-medium text-gray-800">เดินครบ 6,000 ก้าว</p>
<p class="text-xs text-gray-500">รอ 4 แต้ม</p>
</div>
</div>
<span class="text-sm font-semibold text-gray-400">0/6,000</span>
</div>
</div>
</div>
<!-- Weekly Challenges -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h3 class="font-semibold text-gray-800 mb-4 flex items-center">
<i data-feather="zap" class="w-4 h-4 mr-2 text-orange-500"></i>
ภารกิจประจำสัปดาห์
</h3>
<div class="space-y-3">
<div class="p-3 bg-orange-50 rounded-lg">
<div class="flex justify-between items-start mb-2">
<div>
<p class="text-sm font-medium text-gray-800">7 วันติดต่อกัน!</p>
<p class="text-xs text-gray-500">ทำภารกิจครบติดต่อกัน 7 วัน</p>
</div>
<span class="text-xs bg-orange-100 text-orange-700 px-2 py-1 rounded-full">50 แต้ม</span>
</div>
<div class="bg-orange-200 rounded-full h-2">
<div class="bg-orange-500 rounded-full h-2" style="width: 71%"></div>
</div>
<p class="text-xs text-gray-600 mt-1">5/7 วัน</p>
</div>
<div class="p-3 bg-purple-50 rounded-lg">
<div class="flex justify-between items-start mb-2">
<div>
<p class="text-sm font-medium text-gray-800">สุขภาพดีเด่น</p>
<p class="text-xs text-gray-500">คะแนนสุขภาพเฉลี่ย > 80</p>
</div>
<span class="text-xs bg-purple-100 text-purple-700 px-2 py-1 rounded-full">100 แต้ม</span>
</div>
<div class="bg-purple-200 rounded-full h-2">
<div class="bg-purple-500 rounded-full h-2" style="width: 68%"></div>
</div>
<p class="text-xs text-gray-600 mt-1">เฉลี่ย 68/100</p>
</div>
</div>
</div>
<!-- Rewards -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h3 class="font-semibold text-gray-800 mb-4 flex items-center">
<i data-feather="gift" class="w-4 h-4 mr-2 text-red-500"></i>
แลกรางวัล
</h3>
<div class="grid grid-cols-2 gap-3">
<div class="p-3 border border-gray-200 rounded-lg text-center">
<span class="text-2xl">🎯</span>
<p class="text-xs font-medium mt-1">ส่วนลด 10%</p>
<p class="text-xs text-gray-500">200 แต้ม</p>
</div>
<div class="p-3 border border-gray-200 rounded-lg text-center">
<span class="text-2xl">📦</span>
<p class="text-xs font-medium mt-1">ผลิตภัณฑ์ฟรี</p>
<p class="text-xs text-gray-500">500 แต้ม</p>
</div>
<div class="p-3 border border-gray-200 rounded-lg text-center">
<span class="text-2xl">👨⚕️</span>
<p class="text-xs font-medium mt-1">ปรึกษาโค้ช</p>
<p class="text-xs text-gray-500">150 แต้ม</p>
</div>
<div class="p-3 border border-gray-200 rounded-lg text-center">
<span class="text-2xl">🏆</span>
<p class="text-xs font-medium mt-1">VIP 1 เดือน</p>
<p class="text-xs text-gray-500">1000 แต้ม</p>
</div>
</div>
</div>
</div>
<!-- Tab 8: Profile -->
<div id="tab8" class="tab-content px-4 py-6 space-y-6">
<div class="text-center mb-6">
<div class="w-24 h-24 mx-auto rounded-full overflow-hidden border-4 border-health-green mb-3">
<img src="https://static.photos/people/200x200/85" alt="Profile" class="w-full h-full object-cover">
</div>
<h1 class="text-2xl font-bold text-gray-800">พรชัย วัฒนะ</h1>
<p class="text-sm text-gray-500 mt-1">สมาชิกตั้งแต่ 15 ตุลาคม 2567</p>
</div>
<!-- Profile Information -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h3 class="font-semibold text-gray-800 mb-4">ข้อมูลส่วนตัว</h3>
<div class="space-y-3">
<div class="flex justify-between py-2 border-b border-gray-100">
<span class="text-sm text-gray-500">อายุ</span>
<span class="text-sm font-medium text-gray-800">47 ปี</span>
</div>
<div class="flex justify-between py-2 border-b border-gray-100">
<span class="text-sm text-gray-500">ส่วนสูง</span>
<span class="text-sm font-medium text-gray-800">170 ซม.</span>
</div>
<div class="flex justify-between py-2 border-b border-gray-100">
<span class="text-sm text-gray-500">เป้าหมาย</span>
<span class="text-sm font-medium text-gray-800">ลดไขมันสะสมในช่องท้อง</span>
</div>
<div class="flex justify-between py-2 border-b border-gray-100">
<span class="text-sm text-gray-500">โรคประจำตัว</span>
<span class="text-sm font-medium text-gray-800">ความดัน, ภูมิแพ้</span>
</div>
<div class="flex justify-between py-2 border-b border-gray-100">
<span class="text-sm text-gray-500">สินค้าที่ใช้</span>
<span class="text-sm font-medium text-gray-800">BS, LS</span>
</div>
</div>
</div>
<!-- Recovery Index -->
<div class="bg-gradient-to-r from-health-green to-health-blue text-white rounded-xl p-6">
<h3 class="text-lg font-semibold mb-4">คะแนนฟื้นฟู (Recovery Index)</h3>
<div class="relative inline-block">
<svg class="w-40 h-40 transform -rotate-90">
<circle cx="80" cy="80" r="70" stroke="rgba(255,255,255,0.3)" stroke-width="14" fill="none"></circle>
<circle cx="80" cy="80" r="70" stroke="white" stroke-width="14" fill="none"
stroke-dasharray="439.82" stroke-dashoffset="123.15" stroke-linecap="round"></circle>
</svg>
<div class="absolute inset-0 flex flex-col items-center justify-center">
<span class="text-4xl font-bold">72</span>
<span class="text-sm opacity-90">/ 100</span>
</div>
</div>
<p class="text-center mt-3 text-sm">อยู่ในเกณฑ์ดี รักษาต่อไป!</p>
</div>
<!-- Achievements -->
<div class="bg-white rounded-xl p-4 shadow-sm">
<h3 class="font-semibold text-gray-800 mb-4 flex items-center">
<i data-feather="award" class="w-4 h-4 mr-2 text-yellow-500"></i>
ความสำเร็จ
</h3>
<div class="grid grid-cols-3 gap-3">
<div class="text-center">
<div class="w-16 h-16 mx-auto bg-yellow-100 rounded-full flex items-center justify-center mb-1">
<span class="text-2xl">🏅</span>
</div>
<p class="text-xs text-gray-600">7 วันแรก</p>
</div>
<div class="text-center">
<div class="w-16 h-16 mx-auto bg-blue-100 rounded-full flex items-center justify-center mb-1">
<span class="text-2xl">💧</span>
</div>
<p class="text-xs text-gray-600">ดื่มน้ำดี</p>
</div>
<div class="text-center">
<div class="w-16 h-16 mx-auto bg-green-100 rounded-full flex items-center justify-center mb-1">
<span class="text-2xl">🎯</span>
</div>
<p class="text-xs text-gray-600">เป้าหมาย HRV</p>
</div>
</div>
</div>
<!-- Settings -->
<div class="bg-white rounded-xl shadow-sm overflow-hidden">
<button class="w-full flex items-center justify-between p-4 hover:bg-gray-50 transition">
<div class="flex items-center space-x-3">
<i data-feather="settings" class="w-5 h-5 text-gray-600"></i>
<span class="text-sm font-medium text-gray-800">ตั้งค่า</span>
</div>
<i data-feather="chevron-right" class="w-4 h-4 text-gray-400"></i>
</button>
<button class="w-full flex items-center justify-between p-4 hover:bg-gray-50 transition border-t border-gray-100">
<div class="flex items-center space-x-3">
<i data-feather="bell" class="w-5 h-5 text-gray-600"></i>
<span class="text-sm font-medium text-gray-800">การแจ้งเตือน</span>
</div>
<i data-feather="chevron-right" class="w-4 h-4 text-gray-400"></i>
</button>
<button class="w-full flex items-center justify-between p-4 hover:bg-gray-50 transition border-t border-gray-100">
<div class="flex items-center space-x-3">
<i data-feather="help-circle" class="w-5 h-5 text-gray-600"></i>
<span class="text-sm font-medium text-gray-800">ช่วยเหลือ</span>
</div>
<i data-feather="chevron-right" class="w-4 h-4 text-gray-400"></i>
</button>
<button class="w-full flex items-center justify-between p-4 hover:bg-red-50 transition border-t border-gray-100">
<div class="flex items-center space-x-3">
<i data-feather="log-out" class="w-5 h-5 text-red-600"></i>
<span class="text-sm font-medium text-red-600">ออกจากระบบ</span>
</div>
</button>
</div>
</div>
</main>
<!-- Bottom Navigation -->
<nav class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 z-40">
<div class="flex justify-around py-2">
<button onclick="switchTab('tab1')" class="nav-btn flex flex-col items-center py-2 px-3 text-health-green" data-tab="tab1">
<i data-feather="home" class="w-5 h-5"></i>
<span class="text-xs mt-1">หน้าหลัก</span>
</button>
<button onclick="switchTab('tab2')" class="nav-btn flex flex-col items-center py-2 px-3 text-gray-400" data-tab="tab2">
<i data-feather="activity" class="w-5 h-5"></i>
<span class="text-xs mt-1">สุขภาพวันนี้</span>
</button>
<button onclick="switchTab('tab5')" class="nav-btn flex flex-col items-center py-2 px-3 text-gray-400" data-tab="tab5">
<i data-feather="trending-up" class="w-5 h-5"></i>
<span class="text-xs mt-1">ผลย้อนหลัง</span>
</button>
<button onclick="switchTab('tab4')" class="nav-btn flex flex-col items-center py-2 px-3 text-gray-400" data-tab="tab4">
<i data-feather="shopping-bag" class="w-5 h-5"></i>
<span class="text-xs mt-1">สั่งซื้อ</span>
</button>
<button onclick="switchTab('tab8')" class="nav-btn flex flex-col items-center py-2 px-3 text-gray-400" data-tab="tab8">
<i data-feather="user" class="w-5 h-5"></i>
<span class="text-xs mt-1">โปรไฟล์</span>
</button>
</div>
</nav>
<script src="script.js"></script>
<script>feather.replace();</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html> |