/* Основные стили */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0088cc;
    --primary-hover: #006ba3;
    --secondary-color: #6c757d;
    --background: #f8f9fa;
    --surface: #ffffff;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Навигация */
.navbar {
    background: var(--surface);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: bold;
    transition: var(--transition);
}

.logo:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), #00a3e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Главный экран */
.hero {
    background: linear-gradient(135deg, #c69eff 0%, #5c5cff 35%, #6bb8ff 70%, #00b6e9 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Поиск */
.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.search-btn {
    padding: 1rem 2rem;
    background: var(--surface);
    color: #000000;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Фильтры */
.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.filter-select:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.3);
}

.filter-select option {
    background: var(--surface);
    color: var(--text-primary);
}

/* Секции */
.section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.category-page-title {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 1.25rem;
}

/* Футер */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* Форма */
.form-section {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--surface);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.channel-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

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

.image-preview img {
    border: 2px solid var(--border-color);
    border-radius: 50%;
}

/* Кнопки */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Личный кабинет */
.profile-section {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.category-section {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

/* Сообщения */
.no-results,
.no-channels {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.no-channels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Личный кабинет с боковым меню */
.profile-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.profile-sidebar {
    background: var(--surface);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: none;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    width: 100%;
}

.profile-menu-item:hover {
    background: var(--background);
    color: var(--primary-color);
}

.profile-menu-item.active {
    background: linear-gradient(135deg, var(--primary-color), #00a3e0);
    color: white;
}

.menu-icon {
    font-size: 1.3rem;
}

.menu-text {
    flex: 1;
}

.profile-content {
    min-height: 500px;
}

.profile-section-content {
    display: none;
}

.profile-section-content.active {
    display: block;
}

/* Медиа-запросы для профиля перенесены вниз */

/* Стили для кнопок-ссылок в навигации */
.nav-menu button.nav-link {
    padding: 0.5rem 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
}

/* Финансы */
.finance-section {
    max-width: 800px;
    margin: 0 auto;
}

.finance-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.finance-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.finance-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--background);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.balance-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.balance-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.top-up-input-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.top-up-input-group .form-input {
    flex: 1;
}

.finance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.finance-stat-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.finance-stat-icon {
    font-size: 2.5rem;
}

.finance-stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.finance-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.finance-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.finance-history {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.finance-history h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.history-item:last-child {
    border-bottom: none;
}

.history-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.history-type {
    font-weight: 600;
    color: var(--text-primary);
}

.history-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.history-amount {
    font-size: 1.2rem;
    font-weight: 700;
}

.history-amount.positive {
    color: #28a745;
}

.history-amount.negative {
    color: #dc3545;
}

.no-history {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem;
}

/* Настройки профиля */
.profile-settings-section {
    max-width: 600px;
    margin: 0 auto;
}

.settings-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.profile-links {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.profile-links h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Секция продвижения */
.promotion-info {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Админ панель */
.admin-section {
    padding: 3rem 0;
    min-height: calc(100vh - 300px);
}

.admin-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.admin-sidebar {
    background: var(--surface);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: none;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    width: 100%;
}

.admin-menu-item:hover {
    background: var(--background);
    color: var(--primary-color);
}

.admin-menu-item.active {
    background: linear-gradient(135deg, var(--primary-color), #00a3e0);
    color: white;
}

.admin-content {
    min-height: 500px;
}

.admin-section-content {
    display: none;
}

.admin-section-content.active {
    display: block;
}

.admin-search {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-search .form-input {
    flex: 1;
}

.admin-table-container {
    background: var(--surface);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: var(--background);
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    font-weight: 600;
    color: var(--text-primary);
}

.admin-table tbody tr:hover {
    background: var(--background);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 900px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        position: static;
    }
    
    .admin-menu {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .admin-menu-item {
        white-space: nowrap;
        min-width: fit-content;
    }
    
    .admin-search {
        flex-direction: column;
    }
}

/* Адаптивность */
/* Оптимизация личного кабинета для мобильных */
@media (max-width: 900px) {
    .profile-section {
        padding: 1.5rem 0;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .profile-sidebar {
        position: static;
        width: 100%;
        padding: 0.75rem;
        box-sizing: border-box;
        margin: 0;
    }
    
    .profile-menu {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) transparent;
        scroll-padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .profile-menu::-webkit-scrollbar {
        height: 4px;
    }
    
    .profile-menu::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .profile-menu::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }
    
    .profile-menu::-webkit-scrollbar-thumb:hover {
        background: #00a3e0;
    }
    
    .profile-menu-item {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.65rem 0.85rem;
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.35rem;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-width: 70px;
        max-width: 90px;
        box-sizing: border-box;
    }
    
    .profile-menu-item .menu-icon {
        font-size: 1.3rem;
        margin: 0;
        line-height: 1;
    }
    
    .profile-menu-item .menu-text {
        display: block;
        font-size: 0.7rem;
        line-height: 1.1;
        word-break: break-word;
        text-align: center;
    }
    
    .profile-content {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .profile-section-content {
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem 0.75rem;
    }
    
    .stat-icon {
        font-size: 1.8rem;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .profile-channels-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .channel-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .channel-promo-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .channel-promo-actions .btn {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .finance-card,
    .settings-card {
        padding: 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .finance-balance {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding: 1rem;
    }
    
    .balance-label {
        font-size: 0.95rem;
    }
    
    .balance-value {
        font-size: 1.5rem;
    }
    
    .finance-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .finance-stat-card {
        padding: 1rem;
    }
    
    .finance-stat-icon {
        font-size: 2rem;
    }
    
    .finance-stat-value {
        font-size: 1.3rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        box-sizing: border-box;
        font-size: 1rem;
    }
    
    .btn {
        width: 100%;
        box-sizing: border-box;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        min-width: 100%;
        font-size: 0.9rem;
    }
    
    .table-responsive table th,
    .table-responsive table td {
        padding: 0.5rem;
        white-space: nowrap;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .page-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--surface);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: var(--transition);
        gap: 1rem;
    }
    
    .nav-menu.mobile-active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .section-title,
    .page-title {
        font-size: 1.5rem;
    }
    
    .tabs-nav {
        flex-direction: column;
        gap: 0;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        text-align: left;
    }
    
    .top-up-input-group {
        flex-direction: column;
    }
    
    .finance-balance {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .profile-menu {
        padding: 0.5rem 0.75rem;
        gap: 0.4rem;
    }
    
    .profile-menu-item {
        min-width: 65px;
        max-width: 80px;
        padding: 0.6rem 0.6rem;
    }
    
    .profile-menu-item .menu-icon {
        font-size: 1.2rem;
    }
    
    .profile-menu-item .menu-text {
        display: block;
        font-size: 0.65rem;
    }
    
    .profile-sidebar {
        padding: 0.5rem;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .profile-content,
    .profile-section-content {
        padding-left: 0;
        padding-right: 0;
    }
    
    .finance-card,
    .settings-card {
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .top-up-input-group {
        flex-direction: column;
        width: 100%;
    }
    
    .top-up-input-group input {
        width: 100%;
        box-sizing: border-box;
    }
    
    .top-up-input-group .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .history-amount {
        font-size: 1.1rem;
    }
    
    .channel-card-header-row {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
    
    .channel-card-image {
        margin-bottom: 0;
    }
    
    .channel-card-actions {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .channel-card-actions .btn {
        width: 100%;
    }
    
    /* Исправление выравнивания для всех секций */
    section {
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .profile-section,
    .category-section,
    .channel-detail-section,
    .admin-section {
        width: 100%;
        box-sizing: border-box;
        padding-left: 0;
        padding-right: 0;
    }
    
    .form-container {
        box-sizing: border-box;
        width: 100%;
    }
}

/* Стили для страниц авторизации и регистрации */
.auth-section {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.auth-container {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
}

.auth-card {
    background: var(--surface);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form {
    margin-top: 2rem;
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
