* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

header {
    background: linear-gradient(90deg, #0066cc, #004080);
    color: white;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.logo img {
    height: 50px;
}

nav {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 4px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

nav a:hover, nav a.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    min-height: 60vh;
}

.content {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border-top: 4px solid #0066cc;
}

.service-card:hover {
    transform: translateY(-5px);
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    background: #0066cc;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s;
    cursor: pointer;
}

.btn:hover {
    background: #004080;
    transform: translateY(-2px);
}

/* Стили для личного кабинета */
.account-container {
    display: flex;
    min-height: 60vh;
    gap: 1rem;
}

.sidebar {
    width: 250px;
    background: #004080;
    padding: 1rem;
    border-radius: 8px;
}

.sidebar button {
    display: block;
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
}

.sidebar button:hover {
    background: rgba(255,255,255,0.2);
}

.sidebar button.active {
    background: rgba(255,255,255,0.3);
    font-weight: bold;
}

.account-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 8px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .account-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        border-radius: 8px 8px 0 0;
    }
    
    .account-content {
        border-radius: 0 0 8px 8px;
    }
    
    nav a {
        margin: 5px;
        padding: 5px 8px;
        font-size: 0.8rem;
    }
}