/* tutorial-style.css - Стили для страниц инструкций */

/* Наследуем основные переменные */
:root {
    --primary-color: #29b800;
    --secondary-color: #1e8900;
    --accent-color: #4fc83d;
    --light-green: #b8e1ad;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #28a745;
}

/* Общие стили для страниц инструкций */
.tutorial-page {
    background: linear-gradient(to bottom, #ffffff, #f0f8ed);
    min-height: 100vh;
}

/* Шапка как на главной */
.tutorial-page header {
    background: linear-gradient(135deg, var(--primary-color), var(--light-green));
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-bottom: 30px;
}

.tutorial-page header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Хлебные крошки */
.breadcrumbs {
    background: linear-gradient(to right, var(--light-green), #e1f0da);
    padding: 15px 0;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

/* Основной контент инструкции */
.tutorial-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.tutorial-content h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
    border-bottom: 2px solid var(--light-green);
    padding-bottom: 10px;
}

/* Шаги инструкции */
.step {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-color);
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.step-number {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
}

.step h2 {
    color: var(--secondary-color);
    margin: 0;
}

.step-content img {
    border: 1px solid #e1f0da;
    border-radius: 8px;
    margin: 15px 0;
    max-width: 100%;
    height: auto;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Сайдбар */
.tutorial-sidebar {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-block {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e1f0da;
}

.sidebar-block h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.sidebar-block ul {
    list-style: none;
    padding-left: 0;
}

.sidebar-block li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-block a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-block a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.telegram-btn {
    background: linear-gradient(to right, #0088cc, #006699);
    color: white !important; /* Белый текст */
    text-decoration: none; /* Убираем подчеркивание */
}

.telegram-btn:hover {
    background: linear-gradient(to right, #006699, #004466);
    color: white !important; /* Остается белым при наведении */
}

/* Подвал */
.tutorial-page footer {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--light-green);
}

/* Адаптивность */
@media (max-width: 768px) {
    .tutorial-content {
        padding: 20px;
    }
    
    .step {
        padding: 20px;
    }
    
    .tutorial-page header h1 {
        font-size: 2rem;
    }
}