/* Определение цветовых переменных для всего приложения */
:root {
    --primary-color: #000000;   /* Основной синий цвет */
    --secondary-color: #000000; /* Вторичный синий */
    --accent-color: #d0d0d0;    /* Акцентный цвет */
    --light-color: #ffffff; /* Светлый фон */
    --dark-color: #666666;  /* Темный фон */
    --text-color: #333; /* Основной цвет текста */
    --text-light: #000000;  /* Текст */
}

/* Сброс стандартных стилей и базовые настройки */
* {
    margin: 0;  /* Убираем внешние отступы */
    padding: 0; /* Убираем внутренние отступы */
    box-sizing: border-box; /* Размер элемента включает padding и border */
    font-family: 'optima', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Используемые шрифты */
}

/* Подключаем шрифты */
@font-face {
    font-family: 'optima';  /* Название семейства шрифтов */
    src: url('fonts/optima.woff2') format('woff2'),  /* Путь к файлу шрифта формата woff2 */
         url('fonts/optima.woff') format('woff');    /* Альтернативный путь к файлу шрифта формата woff */
    font-weight: normal;    /* Жирность шрифта — обычная */
    font-style: normal; /* Стиль начертания — нормальный */
    font-display: swap; /* Режим отображения шрифта — сначала показываем временный шрифт, пока основной загружается */
}

/* Основные настройки для body */
body {
    line-height: 1.6;   /* Межстрочный интервал */
    color: var(--text-color);   /* Цвет текста из переменной */
    background-color: #f9f9f9;  /* Цвет фона */
}

/* Центрирующий контейнер для контента */
.container {
    margin: 0 auto; /* Центрирование по горизонтали */
    padding: 0 40px;    /* Внутренние отступы слева и справа */
    display: grid;
    justify-content: center;
    align-items: center;
}

/* Стили для основного баннера */
.hero {
    text-align: center; /* Выравнивание текста по центру */
    padding: 2rem 0;    /* Внутренние отступы сверху и снизу */
    background: linear-gradient(135deg, var(--light-color), white); /* Градиентный фон */
    margin-bottom: 3rem;    /* Внешний отступ снизу */
    border-radius: 0 0 10px 10px;   /* Скругление углов снизу */
}

/* Заголовок в баннере */
.hero h1 {
    font-size: 2.8rem;  /* Размер шрифта */
    margin-bottom: 1.5rem;  /* Отступ снизу */
    color: var(--dark-color);   /* Цвет текста */
    font-weight: 400;   /* Жирность шрифта */
    line-height: 1.2;   /* Межстрочный интервал */
    padding: 1rem;
}

/* Текст в баннере */
.hero p {
    font-size: 1.5rem;  /* Размер шрифта */
    color: var(--text-light);   /* Цвет текста */
    max-width: 700px;   /* Максимальная ширина */
    margin: 0 auto 3rem;    /* Внешние отступы (центрирование и отступ снизу) */
    font-weight: 400;   /* Жирность шрифта */
}

/* Стили для кнопок */
button {
    background-color: var(--accent-color);  /* Цвет фона */
    color: #000000; /* Цвет текста */
    border: none;   /* Убираем границу */
    padding: 1rem 2rem; /* Внутренние отступы */
    font-size: 1.5rem;  /* Размер шрифта */
    border-radius: 5px; /* Скругление углов */
    cursor: pointer;    /* Курсор в виде указателя */
    transition: all 0.3s;   /* Плавные анимации */
    font-weight: 500;   /* Жирность шрифта */
    letter-spacing: 0.5px;  /* Межбуквенный интервал */
}

/* Стили для кнопки при наведении */
button:hover {
    background-color: #5d5d5d;  /* Изменение цвета фона */
    color: white;   /* Цвет текста кнопки при наведении */
    transform: translateY(-2px);    /* Смещение вверх */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* Тень */
}

/* Сетка для карточек возможностей */
.features {
    display: grid;  /* Используем grid-раскладку */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));    /* Адаптивные колонки */
    gap: 2rem;  /* Расстояние между элементами */
    margin-bottom: 5rem;    /* Отступ снизу */
}

/* Стили для карточки возможности */
.feature-card {
    background: white;  /* Цвет фона */
    padding: 2.5rem;    /* Внутренние отступы */
    border-radius: 8px; /* Скругление углов */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Тень */
    transition: transform 0.3s, box-shadow 0.3s;    /* Анимации */
    border-top: 4px solid var(--accent-color);  /* Акцентная полоса сверху */
}

/* Эффекты при наведении на карточку */
.feature-card:hover {
    transform: translateY(-5px);    /* Смещение вверх */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Увеличенная тень */
}

/* Заголовок карточки */
.feature-card h2 {
    color: var(--primary-color);    /* Цвет текста */
    margin-bottom: 1.5rem;  /* Отступ снизу */
    font-size: 1.5rem;  /* Размер шрифта */
}

/* Текст карточки */
.feature-card p {
    color: var(--text-light);   /* Цвет текста */
    line-height: 1.7;   /* Межстрочный интервал */
}

/* Стили для секции с модулями */
.content {
    background: white;  /* Цвет фона */
    padding: 4rem;  /* Внутренние отступы */
    border-radius: 8px; /* Скругление углов */
    margin-bottom: 5rem;    /* Отступ снизу */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Тень */
}

/* Заголовок секции */
.content h2 {
    color: var(--primary-color);    /* Цвет текста */
    margin-bottom: 3rem;    /* Отступ снизу */
    text-align: center; /* Выравнивание по центру */
    font-size: 2rem;    /* Размер шрифта */
}

/* Сетка для модулей */
.modules-grid {
    display: grid;  /* Используем grid-раскладку */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));    /* Адаптивные колонки */
    gap: 2rem;  /* Расстояние между элементами */
}

/* Стили для модуля */
.module {
    padding: 1.5rem;    /* Внутренние отступы */
    border-left: 3px solid var(--accent-color); /* Акцентная полоса слева */
    background-color: var(--light-color);   /* Цвет фона */
    border-radius: 0 5px 5px 0; /* Скругление углов справа */
}

/* Заголовок модуля */
.module h3 {
    color: var(--secondary-color);  /* Цвет текста */
    margin-bottom: 1rem;    /* Отступ снизу */
}

/* Текст модуля */
.module p {
    color: var(--text-light);   /* Цвет текста */
    line-height: 1.6;   /* Межстрочный интервал */
    font-size: 1.2em;
}

/* Стили для секции с AI-возможностями */
.ai-features {
    background-color: #ececec;  /* Цвет фона */
    color: #424242; /* Цвет текста */
    border-radius: 8px; /* Скругление углов */
    margin-bottom: 5rem;    /* Отступ снизу */
}

/* Заголовок секции */
.ai-features h2 {
    text-align: center; /* Выравнивание по центру */
    margin-bottom: 3rem;    /* Отступ снизу */
    color: rgb(17, 17, 17);   /* Цвет текста */
    background-color: #d1d1d1;  /* Цвет фона */
}

/* Список возможностей */
.ai-features ul {
    list-style: none;   /* Убираем маркеры списка */
    max-width: 800px;   /* Максимальная ширина */
    margin: 0 auto; /* Центрирование */
    font-size: 1.5rem;  /* Размер шрифта */
}

/* Элемент списка */
.ai-features li {
    margin-bottom: 1.5rem;  /* Отступ снизу */
    padding-left: 2rem; /* Отступ слева */
    position: relative; /* Для позиционирования псевдоэлемента */
    line-height: 1.6;   /* Межстрочный интервал */
}

/* Стили для секции с картинкой */
.tab-content {
    display: none;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tab-content.active {
    display: block;
}

.module-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.module-description h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.module-description p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.3em;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1em;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.module-image {
    text-align: center;
}

.module-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* Адаптивные стили 768px */
@media (max-width: 768px) {
    .functional-hero {
        padding: 3rem 0;
    }
    .functional-hero h1 {
        font-size: 2.2rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .stat-item {
        width: 100%;
        max-width: 250px;
    }
    .module-details {
        grid-template-columns: 1fr;
    }
    .module-image {
        order: -1;
    }
    .integration-logos {
        gap: 1.5rem;
    }
    .logo-item {
        min-width: 120px;
        padding: 1rem;
    }
}
/* Адаптивность 480px */
@media (max-width: 480px) {
    .functional-hero h1 {
        font-size: 1.8rem;
    }
    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    .tab-content {
        padding: 2rem 1.5rem;
    }
    .integrations, .tech-specs {
        padding: 2rem 1.5rem;
    }
}

/* Стили для секции с преимуществами */
.benefits {
    margin-bottom: 5rem;           /* Отступ снизу */
}

/* Заголовок секции */
.benefits h2 {
    text-align: center;            /* Выравнивание по центру */
    margin-bottom: 3rem;           /* Отступ снизу */
    color: var(--primary-color);   /* Цвет текста */
}

/* Сетка преимуществ */
.benefits-grid {
    display: grid;                 /* Используем grid-раскладку */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Адаптивные колонки */
    gap: 2rem;                    /* Расстояние между элементами */
    text-align: center;           /* Выравнивание текста по центру */
}

/* Карточка преимущества */
.benefit {
    background: white;            /* Цвет фона */
    padding: 2rem;               /* Внутренние отступы */
    border-radius: 8px;          /* Скругление углов */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Тень */
}

/* Числовое значение преимущества */
.benefit-value {
    font-size: 2.5rem;           /* Размер шрифта */
    font-weight: 700;            /* Жирность шрифта */
    color: var(--accent-color);  /* Цвет текста */
    margin-bottom: 0.5rem;       /* Отступ снизу */
}

/* Описание преимущества */
.benefit-desc {
    color: var(--text-light);    /* Цвет текста */
    font-size: 1.1rem;          /* Размер шрифта */
}

/* Стили для секции с цитатой */
.quote {
    text-align: center;         /* Выравнивание по центру */
    padding: 4rem;             /* Внутренние отступы */
    margin-bottom: 5rem;       /* Отступ снизу */
    background: var(--light-color); /* Цвет фона */
    border-radius: 8px;        /* Скругление углов */
}

/* Стили для цитаты */
blockquote {
    font-size: 1.8rem;        /* Размер шрифта */
    color: var(--secondary-color); /* Цвет текста */
    max-width: 800px;        /* Максимальная ширина */
    margin: 0 auto;          /* Центрирование */
    line-height: 1.6;        /* Межстрочный интервал */
    font-weight: 500;        /* Жирность шрифта */
}

/* Стили для секции с тарифами */
.pricing-section {
    margin: 40px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.pricing-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.pricing-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.pricing-plan {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.pricing-plan:hover {
    transform: translateY(-5px);
}

.pricing-plan h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 15px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 15px 0;
    color: #3498db;
}

.features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.plan-description {
    font-style: italic;
    color: #7f8c8d;
    text-align: center;
}

.pricing-notes {
    background: #e8f4fc;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.pricing-notes h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.pricing-notes ul {
    list-style-type: disc;
    padding-left: 20px;
}

.pricing-notes li {
    margin-bottom: 8px;
}

/* Цветовые акценты для разных тарифов */
.basic {
    border-top: 4px solid #3498db;
}

.standard {
    border-top: 4px solid #2ecc71;
}

.business {
    border-top: 4px solid #f39c12;
}

.professional {
    border-top: 4px solid #9b59b6;
}

.enterprise {
    border-top: 4px solid #e74c3c;
}

.feature-yes::before,
.feature-no::before {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

.feature-yes::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2327ae60" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
}

.feature-no::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23e74c3c" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>');
    opacity: 0.8;
}

.product-header {
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.product-name {
    color: var(--accent-color);
}

.product-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.product-description {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    margin-bottom: 4rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-description h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.product-features {
    margin-bottom: 4rem;
}

.product-features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--accent-color);
}



.feature-item h3 {

    color: var(--secondary-color);

    margin-bottom: 1rem;

}



.product-modules {

    margin-bottom: 4rem;

}



.product-modules h2 {

    text-align: center;

    margin-bottom: 3rem;

    color: var(--primary-color);

}



.modules-list {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 2rem;

}



.module-item {

    background: var(--light-color);

    padding: 2rem;

    border-radius: 8px;

    border-left: 4px solid var(--accent-color);

}



.module-item h3 {

    color: var(--secondary-color);

    margin-bottom: 1rem;

}



.product-security {

    background: var(--dark-color);

    color: white;

    padding: 3rem;

    border-radius: 8px;

    margin-bottom: 4rem;

}



.product-security h2 {

    text-align: center;

    margin-bottom: 2rem;

    color: white;

}



.security-list {

    list-style: none;

    max-width: 800px;

    margin: 0 auto;

}



.security-list li {

    margin-bottom: 1rem;

    padding-left: 2rem;

    position: relative;

    line-height: 1.6;

    margin: 1rem;

}



.security-list li:before {

    content: "•";

    position: absolute;

    left: 0;

    color: var(--accent-color);

    font-size: 1.5rem;

    line-height: 1;

}



.product-benefits {

    margin-bottom: 4rem;

}



.product-benefits h2 {

    text-align: center;

    margin-bottom: 3rem;

    color: var(--primary-color);

}



.benefits-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 2rem;

    text-align: center;

}



.benefit-item {

    background: white;

    padding: 2rem;

    border-radius: 8px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

}



.benefit-value {

    font-size: 2.5rem;

    font-weight: 700;

    color: var(--accent-color);

    margin-bottom: 0.5rem;

}



.benefit-desc {

    color: var(--text-light);

    font-size: 1.2rem;

}

/* ====================== */

/* АДАПТИВНОСТЬ */

/* ====================== */

@media (max-width: 768px) {

    .hero {

        padding: 1rem; /* Уменьшаем отступы на мобильных устройствах */

    }

    .hero p {

        padding: 1rem; /* Уменьшаем отступы на мобильных устройствах */

        margin: 0rem;

    }

    .product-description {

        padding: 1rem; /* Уменьшаем отступы на мобильных устройствах */

        margin: 0rem;

    }

    p {

        padding: 1rem; /* Уменьшаем отступы на мобильных устройствах */

    }

    h3 {

        padding: 1rem; /* Уменьшаем отступы на мобильных устройствах */

    }

    .container {

        padding: 0; /* Убирает отступы на мобильных устройствах */

    }

    .content {

        padding: 0; /* Убирает отступы на мобильных устройствах */

    }

    .ai-features {

        padding: 1rem; /* Уменьшаем отступы на мобильных устройствах */

    } 

    .product-header {

        padding: 0;

    }

    .product-description, 

    .product-security {

        padding: 0;

    }

    .feature-item,

    .module-item {

        padding: 0;

    }

}

/* ====================== */

/* АУТЕНТИФИКАЦИЯ */

/* ====================== */

.auth-container {

    display: flex;

    justify-content: center;

    align-items: center;

    min-height: 70vh;

    padding: 2rem 0;

}



.auth-form {

    background: white;

    padding: 3rem;

    border-radius: 8px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

    width: 100%;

    max-width: 500px;

}



.auth-form h1 {

    color: var(--primary-color);

    margin-bottom: 2rem;

    text-align: center;

}



.form-group {

    margin-bottom: 1.5rem;

}



.form-group label {

    display: block;

    margin-bottom: 0.5rem;

    color: var(--text-color);

    font-weight: 500;

}



.form-group input {

    width: 100%;

    padding: 0.8rem;

    border: 1px solid #ddd;

    border-radius: 5px;

    font-size: 1rem;

}



.alert {

    padding: 1rem;

    margin-bottom: 1.5rem;

    border-radius: 5px;

}



.alert.error {

    background-color: #ffebee;

    color: #c62828;

    border-left: 4px solid #c62828;

}



.alert.success {

    background-color: #e8f5e9;

    color: #2e7d32;

    border-left: 4px solid #2e7d32;

}



.auth-links {

    margin-top: 1.5rem;

    text-align: center;

    color: var(--text-light);

}



.auth-links a {

    color: var(--accent-color);

    text-decoration: none;

}

/* ====================== */

/* ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ */

/* ====================== */

.profile-container {

    padding: 3rem 0;

}



.profile-info {

    background: white;

    padding: 3rem;

    border-radius: 8px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

}



.user-details {

    margin: 2rem 0;

}



.user-details p {

    margin-bottom: 1rem;

    font-size: 1.1rem;

}



.profile-actions {

    display: flex;

    gap: 1rem;

    margin-top: 2rem;

}



.btn {

    display: inline-block;

    padding: 0.8rem 1.5rem;

    background: var(--accent-color);

    color: white;

    text-decoration: none;

    border-radius: 5px;

    transition: all 0.3s;

}



.btn:hover {

    background: var(--secondary-color);

    transform: translateY(-2px);

}



.btn.logout {

    background: #e53935;

}



.btn.logout:hover {

    background: #c62828;

}



/* Адаптивность */

@media (max-width: 768px) {

    .auth-form {

        padding: 2rem;

    }

    

    .profile-actions {

        flex-direction: column;

    }

}

/* ====================== */

/* АДМИН-ПАНЕЛЬ */

/* ====================== */

.admin-container {

    padding: 2rem 0;

}

.pending-users {

    background: white;

    padding: 2rem;

    border-radius: 8px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

    margin-top: 2rem;

}

.admin-table {

    width: 100%;

    border-collapse: collapse;

    margin-top: 1rem;

}

.admin-table th, .admin-table td {

    padding: 1rem;

    text-align: left;

    border-bottom: 1px solid #eee;

}



.admin-table th {

    background-color: var(--light-color);

    font-weight: 500;

}

.actions {

    display: flex;

    gap: 0.5rem;

}

.btn.approve {

    background-color: #2e7d32;

}

.btn.approve:hover {

    background-color: #1b5e20;

}

.btn.reject {

    background-color: #c62828;

}

.btn.reject:hover {

    background-color: #b71c1c;

}

@media (max-width: 768px) {

    .admin-table {

        display: block;

        overflow-x: auto;

    }

    

    .actions {

        flex-direction: column;

        gap: 0.3rem;

    }

    

    .btn.approve, .btn.reject {

        padding: 0.5rem;

        font-size: 0.9rem;

    }

}

/* Стили для редактирования профиля */

.edit-profile-container {

    max-width: 600px;

    margin: 2rem auto;

    padding: 2rem;

    background: white;

    border-radius: 8px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

}



.edit-profile-container h1 {

    color: var(--primary-color);

    margin-bottom: 2rem;

    text-align: center;

}



.edit-profile-container .form-group {

    margin-bottom: 1.5rem;

}



.edit-profile-container label {

    display: block;

    margin-bottom: 0.5rem;

    font-weight: 500;

}



.edit-profile-container input[type="text"],

.edit-profile-container input[type="email"],

.edit-profile-container input[type="password"] {

    width: 100%;

    padding: 0.8rem;

    border: 1px solid #ddd;

    border-radius: 5px;

    font-size: 1rem;

}



.edit-profile-container .btn {

    display: inline-block;

    padding: 0.8rem 1.5rem;

    background: var(--accent-color);

    color: white;

    border: none;

    border-radius: 5px;

    cursor: pointer;

    text-decoration: none;

    font-size: 1rem;

    margin-right: 1rem;

    transition: all 0.3s;

}



.edit-profile-container .btn:hover {

    background: var(--secondary-color);

    transform: translateY(-2px);

}



.edit-profile-container .btn.cancel {

    background: #6c757d;

}



.edit-profile-container .btn.cancel:hover {

    background: #5a6268;

}



/* Адаптивность */

@media (max-width: 768px) {

    .edit-profile-container {

        padding: 1.5rem;

    }

    

    .edit-profile-container .btn {

        display: block;

        width: 100%;

        margin-bottom: 1rem;

    }

}

/* Статусы пользователей */

.user-status {

    display: inline-block;

    padding: 0.3rem 0.6rem;

    border-radius: 20px;

    font-size: 0.85rem;

    font-weight: 500;

}



.status-pending {

    background-color: #fff3e0;

    color: #e65100;

}



.status-active {

    background-color: #e8f5e9;

    color: #2e7d32;

}



.status-admin {

    background-color: #e3f2fd;

    color: #1565c0;

}



.status-blocked {

    background-color: #ffebee;

    color: #c62828;

}



.search-form {

    display: flex;

    gap: 1rem;

    margin-bottom: 2rem;

}



.search-form input {

    flex-grow: 1;

    padding: 0.8rem;

    border: 1px solid #ddd;

    border-radius: 5px;

}



.filter-tabs {

    display: flex;

    margin-bottom: 1.5rem;

    border-bottom: 1px solid #eee;

}



.filter-tabs a {

    padding: 0.8rem 1.5rem;

    text-decoration: none;

    color: var(--text-light);

    border-bottom: 3px solid transparent;

    transition: all 0.3s;

}



.filter-tabs a:hover {

    color: var(--primary-color);

}



.filter-tabs a.active {

    color: var(--primary-color);

    border-bottom-color: var(--accent-color);

    font-weight: 500;

}



.pagination {

    display: flex;

    justify-content: center;

    margin-top: 2rem;

    gap: 0.5rem;

}



.pagination a, .pagination span {

    padding: 0.5rem 1rem;

    border-radius: 5px;

    text-decoration: none;

}



.pagination a {

    color: var(--primary-color);

    border: 1px solid #ddd;

}



.pagination a:hover {

    background-color: var(--light-color);

}



.pagination span.current {

    background-color: var(--accent-color);

    color: white;

}



.last-login {

    color: var(--text-light);

    font-size: 0.9rem;

}



/* Стили для таблицы в админке */

.admin-table {

    width: 100%;

    border-collapse: collapse;

    margin-top: 1rem;

    font-size: 0.95rem;

}



.admin-table th, .admin-table td {

    padding: 1rem;

    text-align: left;

    border-bottom: 1px solid #eee;

}



.admin-table th {

    background-color: var(--light-color);

    font-weight: 500;

    color: var(--primary-color);

}



.admin-table tr:hover {

    background-color: rgba(0, 0, 0, 0.02);

}



/* Адаптивность для админ-панели */

@media (max-width: 768px) {

    .filter-tabs {

        flex-wrap: wrap;

    }

    

    .filter-tabs a {

        padding: 0.6rem 1rem;

        font-size: 0.9rem;

    }

    

    .search-form {

        flex-direction: column;

        gap: 0.5rem;

    }

    

    .admin-table {

        display: block;

        overflow-x: auto;

    }

    

    .admin-table th, .admin-table td {

        padding: 0.8rem;

        font-size: 0.85rem;

    }

    

    .actions {

        display: flex;

        flex-direction: column;

        gap: 0.3rem;

    }

    

    .btn.approve, .btn.reject {

        padding: 0.5rem;

        font-size: 0.85rem;

    }

    

    .pagination {

        flex-wrap: wrap;

    }

}

/* Стили для быстрого доступа администратора */

.admin-quick-access {

    background-color: var(--accent-color);

    color: white;

    text-align: center;

    padding: 0.8rem;

    margin-top: 0;

    display: none;

}



.admin-quick-access a {

    color: white;

    text-decoration: none;

    font-weight: 500;

    display: inline-block;

    padding: 0.3rem 1rem;

    border-radius: 4px;

    background-color: rgba(255,255,255,0.2);

    transition: background-color 0.3s;

}



.admin-quick-access a:hover {

    background-color: rgba(255,255,255,0.3);

}



@media (max-width: 768px) {

    .admin-quick-access {

        padding: 0.6rem;

        font-size: 0.9rem;

    }

}

.mass-actions {

    margin: 20px 0;

    display: flex;

    gap: 10px;

    align-items: center;

}



.mass-actions select {

    padding: 8px;

    border-radius: 4px;

    border: 1px solid #ddd;

}



#select-all {

    cursor: pointer;

}

.import-export-actions {

    display: flex;

    gap: 15px;

    margin: 20px 0;

    flex-wrap: wrap;

    align-items: center;

}



.import-form {

    display: flex;

    gap: 10px;

    align-items: center;

}



.import-form input[type="file"] {

    padding: 8px;

    border: 1px solid #ddd;

    border-radius: 4px;

    background: white;

}



.export-btn {

    background-color: #4CAF50;

}



.export-btn:hover {

    background-color: #3e8e41;

}

.b-logo-img {

    width: 400px;       /* Фиксированная ширина */

    height: auto;       /* Автоматическая высота (сохраняет пропорции) */

    /* для адаптивности: */

    max-width: 100%;    /* Не превышает ширину родителя */

    height: auto;

}

.icon {

    width: 22px;

    height: 100%;

    vertical-align: middle; /* Выравнивание по центру текста */

    margin-right: 8px; /* Отступ от текста */

    border: 0;

    box-sizing: border-box;

    color: #2a2a2af2;

    cursor: pointer;

}

/* ============================== */
/* Стили для подвижного инфоблока */
/* ============================== */

.tilt-page {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.tilt-container {
    --sz: min(90vh, clamp(360px, 60vw, 360px));
    --fz: calc(0.032 * var(--sz));
    --xv: 0;
    --yv: 0;
    width: var(--sz);
    height: calc(1.05 * var(--sz));
    max-width: calc(100vw - 24px);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1200px;
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.tilt-card {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    width: 86%;
    height: 86%;
    border: 1px solid #8a8a8aaa;
    border-radius: 22px;
    transition: all 0.4s ease-out;
    box-shadow: 0 0 0 10000px #f9f9f9;
    transform: rotateX(calc(1deg * var(--xv))) rotateY(calc(1deg * var(--yv)));
    background: linear-gradient(
        calc(var(--yv) * -0.4deg),
        transparent,
        transparent calc(20% + (-3px * var(--xv))),
        rgba(255, 255, 255, 0.06) calc(40% + (-3px * var(--xv))),
        #ffffff05 calc(70% + (-3px * var(--xv))),
        transparent calc(90% + (-3px * var(--xv))),
        transparent
    );
    padding: 12px 22px;
    
}

.tilt-card::before {
    content: "";
    display: block;
    position: absolute;
    left: -12px;
    top: -12px;
    margin: auto;
    width: calc(100% + 24px);
    height: calc(100% + 24px);
    border: 1px solid #50505055;
    border-radius: 28px;
}

.tilt-tag {
    display: block;
    width: fit-content;
    border: 1px solid #ffffff33;
    border-radius: 4px;
    color: #000000;
    font-size: calc(0.8 * var(--fz));
    margin: 0 auto 22px auto;
    padding: 4px 8px;
}

.tilt-title {
    font-size: calc(3.3 * var(--fz));
    font-weight: 800;
    line-height: 116%;
    background: linear-gradient(26deg, rgb(0 0 0 / 53%) 0%, #000000dd 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: #00000000;
    text-align: center;
    margin: 0;
}

.tilt-text {
    font-size: calc(1.6 * var(--fz));
    font-weight: 400;
    line-height: 142%;
    color: rgb(0 0 0 / 99%);
    text-align: center;
}

.tilt-text span {
    color: rgba(0, 0, 0, 0.8);
}

.tilt-mist {
    position: absolute;
    width: 140%;
    height: 200%;
    bottom: -6%;
    left: -20%;
    box-shadow: inset 0 0 calc(var(--sz) / 6) calc(var(--sz) / 10) #474747;
    border-radius: calc(var(--sz) / 2);
}

.tilt-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tilt-hide-orb {
    --ax: calc((3 / 3.6) * var(--sz));
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: calc((1 / 3) * var(--sz));
}

.tilt-orb {
    position: absolute;
    width: calc(var(--sz) / 6);
    height: calc(var(--sz) / 6);
    background: #fe1e20;
    box-shadow: 0 -2px 12px -3px #fe1e20, inset 8px -4px 2px 0 #fff2,
        inset 0 0 12px 0 #fffc, inset 0 6px 12px -6px #0008,
        inset 0 32px 12px -12px #0003;
    border-radius: 100%;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 20%;
    opacity: 0;
    --startX: calc(-0.6 * var(--sz));
    --startY: 0;
    --offset: 0s;
    animation: tilt-orbX 24s cubic-bezier(0.11, 0, 0.5, 0) infinite,
        tilt-orbY 24s cubic-bezier(0.64, 0, 0.92, 0) infinite;
    animation-delay: var(--offset);
}

.tilt-orb:nth-child(2) {
    --startX: calc(0.6 * var(--sz));
    --offset: 4s;
}

.tilt-orb:nth-child(3) {
    --startX: calc(-0.3 * var(--sz));
    --startY: calc(-0.3 * var(--sz));
    --offset: 8s;
}

.tilt-orb:nth-child(4) {
    --startX: calc(0.3 * var(--sz));
    --startY: calc(-0.3 * var(--sz));
    --offset: 12s;
}

.tilt-orb:nth-child(5) {
    --startX: calc(-0.6 * var(--sz));
    --startY: calc(-0.15 * var(--sz));
    --offset: 16s;
}

.tilt-orb:nth-child(6) {
    --startX: calc(0.6 * var(--sz));
    --startY: calc(-0.15 * var(--sz));
    --offset: 20s;
}

.tilt-orb img {
    width: 64%;
    height: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.tilt-dot {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    bottom: 0;
    margin: auto;
    width: 2px;
    height: 1px;
    background: #fff;
    transform-origin: 0 -36px;
    rotate: 0deg;
    box-shadow: 0 0 4px 1px #fff;
    animation: tilt-innerDot 10s linear infinite, tilt-innerDot2 6s ease-in-out infinite;
}

.tilt-dot:nth-child(2) {
    animation: tilt-innerDot 12s linear infinite, tilt-innerDot2 5s ease-in-out infinite;
    animation-delay: -2s;
    scale: 0.8;
}

.tilt-dot:nth-child(3) {
    animation: tilt-innerDot 8s linear infinite, tilt-innerDot2 4s ease-in-out infinite;
    animation-delay: -6s;
    animation-direction: reverse;
    scale: 0.7;
}

.tilt-dot:nth-child(4) {
    animation: tilt-innerDot 22s linear infinite, tilt-innerDot2 5s ease-in-out infinite;
    animation-delay: -5s;
}

.tilt-dot:nth-child(5) {
    animation: tilt-innerDot 8s linear infinite, tilt-innerDot2 3.4s ease-in-out infinite;
    animation-delay: -1s;
    animation-direction: reverse;
    scale: 0.76;
}

.tilt-dot:nth-child(5) {
    animation: tilt-innerDot 8.6s linear infinite,
        tilt-innerDot2 3.4s ease-in-out infinite;
    animation-delay: -2s;
    scale: 0.8;
}

.tilt-dot:nth-child(5) {
    animation: tilt-innerDot 9.2s linear infinite,
        tilt-innerDot2 3.4s ease-in-out infinite;
    animation-delay: -3s;
    animation-direction: reverse;
    scale: 0.9;
}

@keyframes tilt-innerDot {
    to {
        rotate: 360deg;
    }
}

@keyframes tilt-innerDot2 {
    50% {
        translate: 0 -16px;
    }
    100% {
        translate: 0 0px;
    }
}

@keyframes tilt-orbX {
    0% {
        translate: var(--startX) var(--startY);
    }
    20% {
        translate: 0 0;
    }
    100% {
        translate: 0 0;
    }
}

@keyframes tilt-orbY {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    20% {
        transform: translateY(calc(0.3 * var(--sz))) scale(0.5);
        opacity: 0;
    }
    100% {
        transform: translateY(calc(0.3 * var(--sz))) scale(0.5);
        opacity: 0;
    }
}