.header {
    background-color: #5b5a5a;
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header a {
    color: inherit;
    text-decoration: none;
}

.header .logo {
    transition: transform 0.3s ease;
}

.header .logo:hover {
    transform: scale(1.15);
}

.header h1 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
    flex-grow: 1;
}

.header .lead {
    color: white;
    margin: 0.5rem 0 0;
    font-size: 1.1rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.auth-btn {
    background-color: #4AB767;
    border-color: #4AB767;
    color: white !important; /* Белый текст */
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.auth-btn:hover {
    background-color: #3da158;
    border-color: #3da158;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.brand-section {
    display: flex;
    align-items: center;
    flex-grow: 1;
    min-width: 300px;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-buttons {
        width: 100%;
        justify-content: flex-end;
        margin-top: 1rem;
    }

    .header h1 {
        font-size: 1.5rem;
    }
}

