/* ======================================================================
   Wishlist Collaborative - Tour Guide + Help Pages Styles
   ====================================================================== */

/* --- Tour Overlay & Highlight --- */
.wc-tour-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 10000;
    pointer-events: none;
}

.wc-tour-highlight {
    position: relative;
    z-index: 10001;
    box-shadow: 0 0 0 4px #2fb5d2, 0 0 20px rgba(47, 181, 210, 0.4);
    border-radius: 6px;
    pointer-events: auto;
}

/* --- Tour Tooltip --- */
.wc-tour-tooltip {
    display: none;
    position: absolute;
    z-index: 10002;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    padding: 16px;
    pointer-events: auto;
    animation: wcTourFadeIn 0.25s ease;
}

.wc-tour-tooltip::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    margin-left: -8px;
    border: 8px solid transparent;
    border-bottom-color: #fff;
}

.wc-tour-tooltip-above::before {
    top: auto;
    bottom: -8px;
    border-bottom-color: transparent;
    border-top-color: #fff;
}

@keyframes wcTourFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.wc-tour-tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.wc-tour-step-count {
    font-size: 12px;
    color: #888;
    font-weight: 600;
}

.wc-tour-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 0 4px;
    line-height: 1;
}

.wc-tour-close:hover {
    color: #333;
}

.wc-tour-message {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin: 0 0 12px 0;
}

.wc-tour-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wc-tour-btn {
    padding: 6px 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s;
}

.wc-tour-btn:hover {
    background: #f5f5f5;
}

.wc-tour-btn-primary {
    background: #2fb5d2;
    color: #fff;
    border-color: #2fb5d2;
}

.wc-tour-btn-primary:hover {
    background: #249bb5;
}

/* --- Help Page Navigation --- */
.wishlist-collab-help-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 0;
}

.wishlist-collab-help-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    text-decoration: none;
    color: #666;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-weight: 500;
    transition: all 0.2s;
}

.wishlist-collab-help-tab:hover {
    color: #333;
    text-decoration: none;
}

.wishlist-collab-help-tab.active {
    color: #2fb5d2;
    border-bottom-color: #2fb5d2;
}

.wishlist-collab-help-tab .material-icons {
    font-size: 20px;
}

/* --- FAQ Accordion --- */
.wishlist-collab-faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.wishlist-collab-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    background: #fafafa;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-align: left;
    transition: background 0.15s;
}

.wishlist-collab-faq-question:hover {
    background: #f0f0f0;
}

.wishlist-collab-faq-question .material-icons {
    transition: transform 0.25s;
    color: #888;
}

.wishlist-collab-faq-item.open .wishlist-collab-faq-question .material-icons {
    transform: rotate(180deg);
}

.wishlist-collab-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 18px;
}

.wishlist-collab-faq-item.open .wishlist-collab-faq-answer {
    max-height: 300px;
    padding: 12px 18px 16px;
}

.wishlist-collab-faq-answer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* --- Guide Sections --- */
.wishlist-collab-guide-section {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wishlist-collab-guide-section:last-child {
    border-bottom: none;
}

.wishlist-collab-guide-section h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    color: #232323;
    margin: 0 0 10px 0;
}

.guide-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2fb5d2;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.wishlist-collab-guide-section p {
    margin: 0 0 8px 44px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.wishlist-collab-guide-section ul {
    margin: 8px 0 0 44px;
    padding-left: 18px;
}

.wishlist-collab-guide-section li {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

/* --- Help Footer --- */
.wishlist-collab-help-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .wishlist-collab-help-nav {
        flex-wrap: wrap;
    }

    .wishlist-collab-help-tab {
        flex: 1;
        justify-content: center;
        padding: 8px 12px;
        font-size: 13px;
    }

    .wishlist-collab-guide-section p,
    .wishlist-collab-guide-section ul {
        margin-left: 0;
    }

    .wc-tour-tooltip {
        width: 260px !important;
        left: 10px !important;
    }
}
