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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 625 |
</style>
|
| 626 |
</head>
|
| 627 |
<body>
|
|
|
|
| 622 |
50% { opacity: 1; }
|
| 623 |
100% { opacity: 0.5; }
|
| 624 |
}
|
| 625 |
+
|
| 626 |
+
/* Walkthrough Mode Styles */
|
| 627 |
+
.walkthrough-overlay {
|
| 628 |
+
position: fixed;
|
| 629 |
+
top: 0;
|
| 630 |
+
left: 0;
|
| 631 |
+
width: 100%;
|
| 632 |
+
height: 100%;
|
| 633 |
+
background: rgba(0, 0, 0, 0.8);
|
| 634 |
+
z-index: 9999;
|
| 635 |
+
display: none;
|
| 636 |
+
backdrop-filter: blur(4px);
|
| 637 |
+
}
|
| 638 |
+
|
| 639 |
+
.walkthrough-highlight {
|
| 640 |
+
position: absolute;
|
| 641 |
+
border: 3px solid #10b981;
|
| 642 |
+
border-radius: 0.5rem;
|
| 643 |
+
box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), 0 0 30px rgba(16, 185, 129, 0.4);
|
| 644 |
+
pointer-events: none;
|
| 645 |
+
animation: pulse 2s infinite;
|
| 646 |
+
z-index: 10000;
|
| 647 |
+
}
|
| 648 |
+
|
| 649 |
+
.walkthrough-popup {
|
| 650 |
+
position: absolute;
|
| 651 |
+
background: #1f2937;
|
| 652 |
+
border: 2px solid #10b981;
|
| 653 |
+
border-radius: 1rem;
|
| 654 |
+
padding: 1.5rem;
|
| 655 |
+
max-width: 350px;
|
| 656 |
+
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
|
| 657 |
+
z-index: 10001;
|
| 658 |
+
color: white;
|
| 659 |
+
}
|
| 660 |
+
|
| 661 |
+
.walkthrough-popup::before {
|
| 662 |
+
content: '';
|
| 663 |
+
position: absolute;
|
| 664 |
+
width: 20px;
|
| 665 |
+
height: 20px;
|
| 666 |
+
background: #1f2937;
|
| 667 |
+
border: 2px solid #10b981;
|
| 668 |
+
transform: rotate(45deg);
|
| 669 |
+
}
|
| 670 |
+
|
| 671 |
+
.walkthrough-popup.top::before {
|
| 672 |
+
bottom: -12px;
|
| 673 |
+
left: 50%;
|
| 674 |
+
transform: translateX(-50%) rotate(45deg);
|
| 675 |
+
border-top: none;
|
| 676 |
+
border-left: none;
|
| 677 |
+
}
|
| 678 |
+
|
| 679 |
+
.walkthrough-popup.bottom::before {
|
| 680 |
+
top: -12px;
|
| 681 |
+
left: 50%;
|
| 682 |
+
transform: translateX(-50%) rotate(45deg);
|
| 683 |
+
border-bottom: none;
|
| 684 |
+
border-right: none;
|
| 685 |
+
}
|
| 686 |
+
|
| 687 |
+
.walkthrough-popup.left::before {
|
| 688 |
+
right: -12px;
|
| 689 |
+
top: 50%;
|
| 690 |
+
transform: translateY(-50%) rotate(45deg);
|
| 691 |
+
border-left: none;
|
| 692 |
+
border-bottom: none;
|
| 693 |
+
}
|
| 694 |
+
|
| 695 |
+
.walkthrough-popup.right::before {
|
| 696 |
+
left: -12px;
|
| 697 |
+
top: 50%;
|
| 698 |
+
transform: translateY(-50%) rotate(45deg);
|
| 699 |
+
border-right: none;
|
| 700 |
+
border-top: none;
|
| 701 |
+
}
|
| 702 |
+
|
| 703 |
+
.walkthrough-title {
|
| 704 |
+
font-size: 1.25rem;
|
| 705 |
+
font-weight: bold;
|
| 706 |
+
margin-bottom: 0.75rem;
|
| 707 |
+
color: #10b981;
|
| 708 |
+
}
|
| 709 |
+
|
| 710 |
+
.walkthrough-content {
|
| 711 |
+
font-size: 0.875rem;
|
| 712 |
+
line-height: 1.6;
|
| 713 |
+
color: #d1d5db;
|
| 714 |
+
margin-bottom: 1rem;
|
| 715 |
+
}
|
| 716 |
+
|
| 717 |
+
.walkthrough-buttons {
|
| 718 |
+
display: flex;
|
| 719 |
+
gap: 0.75rem;
|
| 720 |
+
justify-content: space-between;
|
| 721 |
+
}
|
| 722 |
+
|
| 723 |
+
.walkthrough-btn {
|
| 724 |
+
padding: 0.5rem 1rem;
|
| 725 |
+
border-radius: 0.5rem;
|
| 726 |
+
border: none;
|
| 727 |
+
font-weight: 600;
|
| 728 |
+
cursor: pointer;
|
| 729 |
+
transition: all 0.3s;
|
| 730 |
+
font-size: 0.875rem;
|
| 731 |
+
}
|
| 732 |
+
|
| 733 |
+
.walkthrough-btn-prev {
|
| 734 |
+
background: #374151;
|
| 735 |
+
color: white;
|
| 736 |
+
}
|
| 737 |
+
|
| 738 |
+
.walkthrough-btn-prev:hover {
|
| 739 |
+
background: #4b5563;
|
| 740 |
+
}
|
| 741 |
+
|
| 742 |
+
.walkthrough-btn-next {
|
| 743 |
+
background: #10b981;
|
| 744 |
+
color: white;
|
| 745 |
+
}
|
| 746 |
+
|
| 747 |
+
.walkthrough-btn-next:hover {
|
| 748 |
+
background: #059669;
|
| 749 |
+
}
|
| 750 |
+
|
| 751 |
+
.walkthrough-btn-skip {
|
| 752 |
+
background: #ef4444;
|
| 753 |
+
color: white;
|
| 754 |
+
}
|
| 755 |
+
|
| 756 |
+
.walkthrough-btn-skip:hover {
|
| 757 |
+
background: #dc2626;
|
| 758 |
+
}
|
| 759 |
+
|
| 760 |
+
.walkthrough-progress {
|
| 761 |
+
position: fixed;
|
| 762 |
+
top: 20px;
|
| 763 |
+
left: 50%;
|
| 764 |
+
transform: translateX(-50%);
|
| 765 |
+
background: #1f2937;
|
| 766 |
+
border: 2px solid #10b981;
|
| 767 |
+
border-radius: 2rem;
|
| 768 |
+
padding: 0.5rem 1.5rem;
|
| 769 |
+
color: white;
|
| 770 |
+
font-size: 0.875rem;
|
| 771 |
+
z-index: 10002;
|
| 772 |
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
| 773 |
+
}
|
| 774 |
+
|
| 775 |
+
.walkthrough-task-menu {
|
| 776 |
+
display: none;
|
| 777 |
+
padding: 2rem;
|
| 778 |
+
max-width: 800px;
|
| 779 |
+
margin: 0 auto;
|
| 780 |
+
}
|
| 781 |
+
|
| 782 |
+
.walkthrough-task-card {
|
| 783 |
+
background: #1f2937;
|
| 784 |
+
border: 2px solid #10b981;
|
| 785 |
+
border-radius: 1rem;
|
| 786 |
+
padding: 1.5rem;
|
| 787 |
+
margin-bottom: 1rem;
|
| 788 |
+
cursor: pointer;
|
| 789 |
+
transition: all 0.3s;
|
| 790 |
+
}
|
| 791 |
+
|
| 792 |
+
.walkthrough-task-card:hover {
|
| 793 |
+
transform: translateY(-4px);
|
| 794 |
+
box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
|
| 795 |
+
}
|
| 796 |
+
|
| 797 |
+
.walkthrough-task-title {
|
| 798 |
+
font-size: 1.25rem;
|
| 799 |
+
font-weight: bold;
|
| 800 |
+
color: #10b981;
|
| 801 |
+
margin-bottom: 0.5rem;
|
| 802 |
+
}
|
| 803 |
+
|
| 804 |
+
.walkthrough-task-description {
|
| 805 |
+
color: #d1d5db;
|
| 806 |
+
font-size: 0.875rem;
|
| 807 |
+
line-height: 1.6;
|
| 808 |
+
}
|
| 809 |
+
|
| 810 |
+
.walkthrough-indicator {
|
| 811 |
+
position: fixed;
|
| 812 |
+
top: 10px;
|
| 813 |
+
right: 10px;
|
| 814 |
+
background: #10b981;
|
| 815 |
+
color: white;
|
| 816 |
+
padding: 0.5rem 1rem;
|
| 817 |
+
border-radius: 0.5rem;
|
| 818 |
+
font-size: 0.875rem;
|
| 819 |
+
font-weight: 600;
|
| 820 |
+
z-index: 1000;
|
| 821 |
+
display: none;
|
| 822 |
+
}
|
| 823 |
+
|
| 824 |
+
/* Mobile-friendly adjustments */
|
| 825 |
+
@media (max-width: 640px) {
|
| 826 |
+
.walkthrough-popup {
|
| 827 |
+
max-width: calc(100vw - 2rem);
|
| 828 |
+
margin: 1rem;
|
| 829 |
+
}
|
| 830 |
+
|
| 831 |
+
.walkthrough-progress {
|
| 832 |
+
top: 10px;
|
| 833 |
+
font-size: 0.75rem;
|
| 834 |
+
padding: 0.4rem 1rem;
|
| 835 |
+
}
|
| 836 |
+
|
| 837 |
+
.walkthrough-title {
|
| 838 |
+
font-size: 1.125rem;
|
| 839 |
+
}
|
| 840 |
+
|
| 841 |
+
.walkthrough-content {
|
| 842 |
+
font-size: 0.8125rem;
|
| 843 |
+
}
|
| 844 |
+
|
| 845 |
+
.walkthrough-btn {
|
| 846 |
+
font-size: 0.8125rem;
|
| 847 |
+
padding: 0.4rem 0.8rem;
|
| 848 |
+
}
|
| 849 |
+
}
|
| 850 |
</style>
|
| 851 |
</head>
|
| 852 |
<body>
|