* {
            margin: 0;
            padding: 0;
            font-family: 'Helvetica Neue', Arial, sans-serif;
            box-sizing: border-box;
        }
        
        body {
            background: #edeef0;
            color: #000;
            font-size: 13px;
            line-height: 1.5;
            background-image: url('../../assets/img/old_vk_bg.png');
            background-repeat: repeat;
        }
        
        .top-header {
            background: #507299;
            height: 60px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 100;
        }
        
        .header-container {
            width: 100%;
            max-width: 960px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 100%;
            padding: 0 15px;
        }
        
        .logo {
            color: #fff;
            font-size: 24px;
            font-weight: bold;
            text-decoration: none;
        }
        
        .auth-links a {
            color: #fff;
            text-decoration: none;
            margin-left: 15px;
            font-size: 14px;
        }
        
        .auth-links a:hover {
            text-decoration: underline;
        }
        
        /* Убираем .main-container из header.php, так как он будет в каждой странице свой */
        /* Убираем .main-footer и .footer-links из header.php, так как они в footer.php */
        
        /* Медиа-запросы только для хедера */
        @media (max-width: 768px) {
            .top-header {
                height: 50px;
            }
            
            .header-container {
                padding: 0 10px;
            }
            
            .logo {
                font-size: 20px;
            }
            
            .auth-links a {
                margin-left: 10px;
                font-size: 12px;
            }
        }

        @media (max-width: 480px) {
            .top-header {
                height: 45px;
            }
            
            .logo {
                font-size: 18px;
            }
            
            .auth-links a {
                margin-left: 8px;
                font-size: 11px;
            }
        }
        
        /* Стили для футера */
.main-footer {
    background: #fff;
    border: 1px solid #d3d9de;
    border-radius: 3px;
    padding: 15px;
    text-align: center;
    font-size: 12px;
    color: #656565;
    margin-top: 30px;
    width: 100%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 1px 0 0 #d7d8db, 0 0 0 1px #e3e4e8;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links a {
    color: #2a5885;
    text-decoration: none;
    margin: 0 10px;
    font-size: 12px;
}

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

.copyright {
    margin-top: 10px;
    font-size: 11px;
}

/* Мобильные стили для футера */
@media screen and (max-width: 768px) {
    .main-footer {
        max-width: 420px;
        margin: 20px auto;
        padding: 15px;
        border-radius: 5px;
    }
    
    .footer-links {
        gap: 8px;
    }
    
    .footer-links a {
        margin: 0 5px;
        font-size: 11px;
    }
    
    .copyright {
        font-size: 10px;
    }
}

@media screen and (max-width: 480px) {
    .main-footer {
        padding: 12px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-links a {
        margin: 2px 0;
        display: block;
    }
}
