/* VK Guide page specific styles */
.guide-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 2rem;
    margin-bottom: 0;
}

.guide-step {
    margin-bottom: 2rem;
    border-left: 4px solid #667eea;
    padding-left: 1rem;
}

.guide-step .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #667eea;
    font-weight: 600;
}

.guide-step h4 {
    color: #667eea;
    margin-bottom: 0;
}

.guide-step ol {
    padding-left: 1.5rem;
}

.guide-step li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.guide-step code {
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #e83e8c;
}

.guide-step .alert {
    margin-top: 1rem;
    border-radius: 8px;
}

.sidebar-card {
    position: sticky;
    top: 2rem;
}

.sidebar-card .card-header {
    font-weight: 600;
}

.sidebar-card .list-unstyled li {
    margin-bottom: 0.75rem;
}

.sidebar-card .list-unstyled a {
    color: #495057;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-card .list-unstyled a:hover {
    color: #667eea;
}

.sidebar-card .list-unstyled i {
    margin-right: 0.5rem;
    width: 20px;
}

.important-data {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.important-data code {
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #495057;
    display: block;
    margin-top: 0.5rem;
    word-break: break-all;
}

.help-card {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: 1px solid #17a2b8;
}

.help-card .card-header {
    background: #17a2b8;
    color: white;
}

.help-card ul {
    margin-bottom: 0;
}

.help-card ul li {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .guide-header {
        padding: 1rem;
    }
    
    .guide-step {
        margin-bottom: 1.5rem;
    }
    
    .sidebar-card {
        position: static;
        margin-top: 2rem;
    }
    
    .important-data {
        padding: 1rem;
    }
    
    .important-data code {
        font-size: 0.8rem;
    }
}

/* Step numbering */
.guide-step::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: -2rem;
    top: 0;
    background: #667eea;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.guide-steps {
    counter-reset: step-counter;
    position: relative;
}

.guide-steps .guide-step {
    position: relative;
    padding-left: 3rem;
}

/* Link styles */
.guide-step a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.guide-step a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

/* Code block styles */
.guide-step pre {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.guide-step pre code {
    background: none;
    padding: 0;
    color: #495057;
}
