/* guide.css */

:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --bg-color: #f3f4f6;
    --text-color: #1f2937;
    --card-bg: #ffffff;
    --danger-color: #ef4444;
}

body {
    background-color: var(--bg-color);
}

.guide-content {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.guide-intro {
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.guide-intro h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.guide-intro p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Nav Tabs */
.guide-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 15px;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #e5e7eb;
}

.guide-nav::-webkit-scrollbar {
    height: 6px;
}

.guide-nav::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 10px;
}

.guide-nav::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.guide-nav-btn {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.guide-nav-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Sections */
.guide-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.guide-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-section h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-section h2 i {
    color: var(--primary-color);
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
}

.card.highlight-red {
    border-left-color: var(--danger-color);
}

.card h3 {
    margin-bottom: 10px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 10px;
}

.guide-list {
    padding-left: 20px;
    color: #4b5563;
}

.guide-list li {
    margin-bottom: 8px;
}

.row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .row {
        grid-template-columns: 1fr 1fr;
    }
}

.guide-footer {
    text-align: center;
    padding: 20px;
    color: #9ca3af;
    font-size: 0.9rem;
}

.guide-intro-text {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.6;
}