﻿/* Admin Guide System - Interactive Step-by-Step */

.admin-guide-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.admin-guide-overlay.active {
    display: flex;
}

.guide-card {
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.95), rgba(20, 20, 40, 0.95));
    border: 2px solid var(--secondary-gold);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(199, 142, 63, 0.3);
    animation: slideInGuide 0.4s ease;
    position: relative;
}

@keyframes slideInGuide {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(199, 142, 63, 0.3);
}

.guide-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-gold), #d4a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.guide-header h3 {
    margin: 0;
    color: var(--secondary-gold);
    font-size: 1.5rem;
}

.guide-step-number {
    background: rgba(199, 142, 63, 0.2);
    color: var(--secondary-gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.guide-content {
    margin: 25px 0;
}

.guide-content h4 {
    color: white;
    margin: 0 0 15px 0;
    font-size: 1.2rem;
}

.guide-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0 0 20px 0;
}

.guide-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.guide-content li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-muted);
}

.guide-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.guide-highlight {
    background: rgba(199, 142, 63, 0.15);
    border-left: 3px solid var(--secondary-gold);
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.guide-highlight strong {
    color: var(--secondary-gold);
}

.guide-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.guide-btn {
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-btn-skip {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.guide-btn-skip:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.guide-btn-next {
    background: linear-gradient(135deg, var(--secondary-gold), #d4a049);
    color: var(--primary-dark);
}

.guide-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(199, 142, 63, 0.4);
}

.guide-progress {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: var(--secondary-gold);
    width: 30px;
    border-radius: 5px;
}

/* Help Button (always visible) */
.help-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-gold), #d4a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(199, 142, 63, 0.4);
    z-index: 9998;
    transition: all 0.3s ease;
    border: none;
}

.help-button:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 30px rgba(199, 142, 63, 0.6);
}

.help-button i {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

/* Tooltip Hints */
.tooltip-hint {
    position: relative;
    display: inline-block;
}

.tooltip-hint .tooltip-text {
    visibility: hidden;
    background: rgba(10, 10, 20, 0.95);
    color: white;
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--secondary-gold);
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85rem;
}

.tooltip-hint .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--secondary-gold) transparent transparent transparent;
}

.tooltip-hint:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .guide-card {
        padding: 25px;
        max-width: 95%;
    }

    .guide-header {
        flex-direction: column;
        text-align: center;
    }

    .guide-actions {
        flex-direction: column;
    }

    .guide-btn {
        width: 100%;
        justify-content: center;
    }

    .help-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}
