.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #2c3e50;
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-title a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.auth-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.auth-form #greeting,
.auth-form #ID {
    margin: 0;
    font-size: 14px;
    color: #ecf0f1;
}

/* Поля логіну */
.login-input, .password-input {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}

/* Кнопки входу та реєстрації */
.login-btn, .register-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.login-btn {
    background-color: #3498db;
    color: white;
}

.register-btn {
    background-color: #e74c3c;
    color: white;
}

.login-btn:hover,
.register-btn:hover {
    opacity: 0.9;
}

/* Блок дій після входу */
.auth-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Кнопка "Вийти" */
.auth-actions form button {
    width: 150px;
    padding: 6px 10px;
    background-color: #007BFF;
    color: white;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 4px;
}

.auth-actions form button:hover {
    background-color: #0056b3;
}

/* Стиль корзини */
.cart-icon {
    font-size: 32px; /* зроблена більшою */
    color: white;
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
}

.cart-icon:hover {
    color: #f1c40f;
    transform: scale(1.1);
}


/* Адаптивність */
@media (max-width: 768px) {
    .auth-form {
        flex-direction: column;
        align-items: flex-end;
    }

    .login-input, .password-input {
        width: 100%;
        margin-bottom: 5px;
    }

    .login-btn, .register-btn {
        width: 100%;
    }

    .auth-actions {
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
    }

    .auth-actions form button {
        width: 100%;
    }

   
}
