/**
 * Onboarding Guide Styles
 * Clean, modern, and user-friendly
 */

.onboarding-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.onboarding-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.onboarding-container {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.onboarding-header {
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.onboarding-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
}

.onboarding-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.onboarding-close:hover {
    background: #f3f4f6;
    color: #6b7280;
}

.onboarding-body {
    padding: 32px;
    max-height: 60vh;
    overflow-y: auto;
}

.onboarding-step {
    animation: fadeIn 0.3s ease;
}

.onboarding-icon {
    font-size: 64px;
    text-align: center;
    margin-bottom: 24px;
}

.onboarding-step h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 16px 0;
    text-align: center;
}

.onboarding-step p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.benefits-list li {
    padding: 8px 0;
    color: #374151;
    font-size: 15px;
}

.setup-steps {
    margin: 24px 0;
}

.setup-step {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 3px solid #3b82f6;
}

.setup-step strong {
    color: #1f2937;
    display: block;
    margin-bottom: 4px;
}

.setup-step p {
    margin: 0;
    font-size: 14px;
}

.setup-step a {
    color: #3b82f6;
    font-weight: 500;
}

.warning-box {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

.warning-box strong {
    color: #92400e;
    display: block;
    margin-bottom: 4px;
}

.usage-flow {
    margin: 24px 0;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.step-number {
    background: #3b82f6;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 16px;
}

.step-content strong {
    color: #1f2937;
    display: block;
    margin-bottom: 4px;
}

.step-content p {
    margin: 0;
    font-size: 14px;
}

.reassurance {
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
    padding: 16px;
    border-radius: 4px;
    margin: 16px 0 0 0;
}

.note {
    background: #f9fafb;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-style: italic;
    color: #6b7280;
    text-align: center;
}

.onboarding-footer {
    padding: 24px 32px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.onboarding-progress {
    display: flex;
    gap: 8px;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: all 0.3s;
}

.progress-dot.active {
    background: #3b82f6;
    width: 32px;
    border-radius: 6px;
}

.progress-dot.completed {
    background: #10b981;
}

.onboarding-actions {
    display: flex;
    gap: 12px;
}

.onboarding-actions .btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.onboarding-actions .btn-secondary {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #6b7280;
}

.onboarding-actions .btn-secondary:hover {
    background: #e5e7eb;
}

.onboarding-actions .btn-primary {
    background: #3b82f6;
    border: none;
    color: white;
}

.onboarding-actions .btn-primary:hover {
    background: #2563eb;
}

.onboarding-actions .btn-success {
    background: #10b981;
    border: none;
    color: white;
}

.onboarding-actions .btn-success:hover {
    background: #059669;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Closing animation */
.onboarding-modal-closing {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Mobile responsive */
@media (max-width: 640px) {
    .onboarding-container {
        width: 95%;
        max-height: 95vh;
    }

    .onboarding-header {
        padding: 16px 20px;
    }

    .onboarding-header h3 {
        font-size: 20px;
    }

    .onboarding-body {
        padding: 20px;
    }

    .onboarding-icon {
        font-size: 48px;
    }

    .onboarding-footer {
        padding: 16px 20px;
        flex-direction: column;
        gap: 16px;
    }

    .onboarding-actions {
        width: 100%;
        justify-content: stretch;
    }

    .onboarding-actions .btn {
        flex: 1;
    }
}

